|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConfigurationDeclaration.DeclarationType>
com.emarsys.ecommon.prefs.config.ConfigurationDeclaration.DeclarationType
public static enum ConfigurationDeclaration.DeclarationType
Defines the different types of String
declarations
possible. They represent some kind of token classes when
parsing a configuration declaration.
Enum Constant Summary | |
---|---|
DEFAULT_VALUE
The String represents a ISetting default value. |
|
EXCLUDED
The String is an excluded name. |
|
FALLBACK_NAME
The String represents the name of a fallback
ISetting . |
|
NAME
The String represents a ISetting name. |
|
UNKNOWN
The declaration type of the String is unknown,
usually indicates an error. |
|
VALUE
The String represents a ISetting value. |
Method Summary | |
---|---|
static ConfigurationDeclaration.DeclarationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ConfigurationDeclaration.DeclarationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConfigurationDeclaration.DeclarationType UNKNOWN
String
is unknown,
usually indicates an error.
public static final ConfigurationDeclaration.DeclarationType EXCLUDED
String
is an excluded name.
public static final ConfigurationDeclaration.DeclarationType NAME
String
represents a ISetting
name.
public static final ConfigurationDeclaration.DeclarationType VALUE
String
represents a ISetting
value.
public static final ConfigurationDeclaration.DeclarationType DEFAULT_VALUE
ISetting
default value.
public static final ConfigurationDeclaration.DeclarationType FALLBACK_NAME
String
represents the name of a fallback
ISetting
.
Method Detail |
---|
public static ConfigurationDeclaration.DeclarationType[] values()
for (ConfigurationDeclaration.DeclarationType c : ConfigurationDeclaration.DeclarationType.values()) System.out.println(c);
public static ConfigurationDeclaration.DeclarationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |