Enum PluginConfigKeyType.Format
- java.lang.Object
-
- java.lang.Enum<PluginConfigKeyType.Format>
-
- com.funnelback.plugin.details.model.PluginConfigKeyType.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginConfigKeyType.Format>
- Enclosing class:
- PluginConfigKeyType
public static enum PluginConfigKeyType.Format extends Enum<PluginConfigKeyType.Format>
Allowed types of plugin configuration key
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
static PluginConfigKeyType.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static PluginConfigKeyType.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARRAY
public static final PluginConfigKeyType.Format ARRAY
-
BOOLEAN
public static final PluginConfigKeyType.Format BOOLEAN
-
DATE
public static final PluginConfigKeyType.Format DATE
-
INTEGER
public static final PluginConfigKeyType.Format INTEGER
-
LONG
public static final PluginConfigKeyType.Format LONG
-
METADATA
public static final PluginConfigKeyType.Format METADATA
-
PASSWORD
public static final PluginConfigKeyType.Format PASSWORD
-
STRING
public static final PluginConfigKeyType.Format STRING
-
-
Field Detail
-
type
private final String type
-
-
Constructor Detail
-
Format
private Format(String type)
-
-
Method Detail
-
values
public static PluginConfigKeyType.Format[] 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 (PluginConfigKeyType.Format c : PluginConfigKeyType.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginConfigKeyType.Format 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
-
getType
public String getType()
-
-