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) |
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)