public static enum ClusterLinkConfig.LinkMode extends Enum<ClusterLinkConfig.LinkMode>
| Enum Constant and Description |
|---|
Destination |
Source |
| Modifier and Type | Method and Description |
|---|---|
static ClusterLinkConfig.LinkMode |
fromString(String linkModeStr) |
String |
toString() |
static ClusterLinkConfig.LinkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLinkConfig.LinkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLinkConfig.LinkMode Destination
public static final ClusterLinkConfig.LinkMode Source
public static ClusterLinkConfig.LinkMode[] values()
for (ClusterLinkConfig.LinkMode c : ClusterLinkConfig.LinkMode.values()) System.out.println(c);
public static ClusterLinkConfig.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 static ClusterLinkConfig.LinkMode fromString(String linkModeStr)
public String toString()
toString in class Enum<ClusterLinkConfig.LinkMode>