Enum ConfigField.FieldType
- java.lang.Object
-
- java.lang.Enum<ConfigField.FieldType>
-
- com.javahollic.jira.emh.api.config.ConfigField.FieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigField.FieldType>
- Enclosing class:
- ConfigField
public static enum ConfigField.FieldType extends Enum<ConfigField.FieldType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description checkbox
password
radio
readonly
script
selectMulti
selectSingle
text
textarea
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigField.FieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigField.FieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
text
public static final ConfigField.FieldType text
-
password
public static final ConfigField.FieldType password
-
selectSingle
public static final ConfigField.FieldType selectSingle
-
selectMulti
public static final ConfigField.FieldType selectMulti
-
checkbox
public static final ConfigField.FieldType checkbox
-
radio
public static final ConfigField.FieldType radio
-
script
public static final ConfigField.FieldType script
-
textarea
public static final ConfigField.FieldType textarea
-
readonly
public static final ConfigField.FieldType readonly
-
-
Method Detail
-
values
public static ConfigField.FieldType[] 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 (ConfigField.FieldType c : ConfigField.FieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigField.FieldType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-