public enum ParameterEnum extends Enum<ParameterEnum>
Enum Constant and Description |
---|
namenodehost |
namenodeport |
namenodeprotocol |
rootpath |
user |
Modifier and Type | Field and Description |
---|---|
protected String |
defaultValue |
Modifier and Type | Method and Description |
---|---|
static ParameterEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterEnum namenodeprotocol
public static final ParameterEnum namenodehost
public static final ParameterEnum namenodeport
public static final ParameterEnum user
public static final ParameterEnum rootpath
protected final String defaultValue
public static ParameterEnum[] values()
for (ParameterEnum c : ParameterEnum.values()) System.out.println(c);
public static ParameterEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null