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