public static enum ClusterLinkDescription.LinkMode extends Enum<ClusterLinkDescription.LinkMode>
| Enum Constant and Description |
|---|
DESTINATION |
SOURCE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ClusterLinkDescription.LinkMode |
fromShort(short x) |
short |
getValue() |
static ClusterLinkDescription.LinkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLinkDescription.LinkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLinkDescription.LinkMode UNKNOWN
public static final ClusterLinkDescription.LinkMode DESTINATION
public static final ClusterLinkDescription.LinkMode SOURCE
public static ClusterLinkDescription.LinkMode[] values()
for (ClusterLinkDescription.LinkMode c : ClusterLinkDescription.LinkMode.values()) System.out.println(c);
public static ClusterLinkDescription.LinkMode 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 nullpublic short getValue()
public static ClusterLinkDescription.LinkMode fromShort(short x)