Package es.bsc.dataclay.util
Enum Configuration.ConfType
- java.lang.Object
-
- java.lang.Enum<Configuration.ConfType>
-
- es.bsc.dataclay.util.Configuration.ConfType
-
- All Implemented Interfaces:
Serializable
,Comparable<Configuration.ConfType>
- Enclosing class:
- Configuration
public static enum Configuration.ConfType extends Enum<Configuration.ConfType>
Type of configuration values.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Configuration.ConfType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Configuration.ConfType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final Configuration.ConfType INTEGER
-
SHORT
public static final Configuration.ConfType SHORT
-
LONG
public static final Configuration.ConfType LONG
-
FLOAT
public static final Configuration.ConfType FLOAT
-
BOOLEAN
public static final Configuration.ConfType BOOLEAN
-
STRING
public static final Configuration.ConfType STRING
-
DBHANDLER
public static final Configuration.ConfType DBHANDLER
-
DATE
public static final Configuration.ConfType DATE
-
-
Method Detail
-
values
public static Configuration.ConfType[] 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 (Configuration.ConfType c : Configuration.ConfType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Configuration.ConfType 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
-
-