public static enum ApplicationResource.ReplicationTarget extends java.lang.Enum<ApplicationResource.ReplicationTarget>
| Enum Constant and Description |
|---|
CLUSTER_COORDINATOR |
CLUSTER_NODES |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationResource.ReplicationTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationResource.ReplicationTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationResource.ReplicationTarget CLUSTER_NODES
public static final ApplicationResource.ReplicationTarget CLUSTER_COORDINATOR
public static ApplicationResource.ReplicationTarget[] values()
for (ApplicationResource.ReplicationTarget c : ApplicationResource.ReplicationTarget.values()) System.out.println(c);
public static ApplicationResource.ReplicationTarget 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