public enum ConfigurationOption extends java.lang.Enum<ConfigurationOption>
Configuration
Enum Constant and Description |
---|
PAGES_PACKAGE |
PLATFORM |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static ConfigurationOption |
fromString(java.lang.String input)
Converts string into
ConfigurationOption value. |
java.lang.String |
getValue()
Gets the string value associated with the constant.
|
java.lang.String |
toString() |
static ConfigurationOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationOption PLATFORM
public static final ConfigurationOption TIMEOUT
public static final ConfigurationOption PAGES_PACKAGE
public static ConfigurationOption[] values()
for (ConfigurationOption c : ConfigurationOption.values()) System.out.println(c);
public static ConfigurationOption 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 namejava.lang.NullPointerException
- if the argument is nullpublic static ConfigurationOption fromString(java.lang.String input)
ConfigurationOption
value. If corresponding option
wasn't found the null value is returned.input
- the configuration option name represented as the string.ConfigurationOption
value corresponding to the input parameter.public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<ConfigurationOption>