Enum TemplateInstaller
- java.lang.Object
-
- java.lang.Enum<TemplateInstaller>
-
- de.dytanic.cloudnet.ext.smart.template.TemplateInstaller
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TemplateInstaller>
public enum TemplateInstaller extends java.lang.Enum<TemplateInstaller>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTALL_ALLINSTALL_BALANCEDINSTALL_RANDOMINSTALL_RANDOM_ONCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TemplateInstallervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TemplateInstaller[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALL_ALL
public static final TemplateInstaller INSTALL_ALL
-
INSTALL_RANDOM
public static final TemplateInstaller INSTALL_RANDOM
-
INSTALL_RANDOM_ONCE
public static final TemplateInstaller INSTALL_RANDOM_ONCE
-
INSTALL_BALANCED
public static final TemplateInstaller INSTALL_BALANCED
-
-
Method Detail
-
values
public static TemplateInstaller[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TemplateInstaller c : TemplateInstaller.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateInstaller valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-