public static enum Constants.Interface extends Enum<Constants.Interface>
Enum Constant and Description |
---|
HOME |
LOCAL |
LOCAL_HOME |
REMOTE |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Constants.Interface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Interface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Interface UNSPECIFIED
public static final Constants.Interface HOME
public static final Constants.Interface REMOTE
public static final Constants.Interface LOCAL_HOME
public static final Constants.Interface LOCAL
public static Constants.Interface[] values()
for (Constants.Interface c : Constants.Interface.values()) System.out.println(c);
public static Constants.Interface 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