java.io.Serializable
, java.lang.Comparable<Constants.Interface>
public static enum Constants.Interface extends java.lang.Enum<Constants.Interface>
Enum Constant | Description |
---|---|
HOME |
|
LOCAL |
|
LOCAL_HOME |
|
REMOTE |
|
UNSPECIFIED |
Modifier and Type | Method | Description |
---|---|---|
static Constants.Interface |
valueOf(java.lang.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(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 null