public enum ClusterNodeRole extends java.lang.Enum<ClusterNodeRole>
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getLabel()  | 
java.lang.String | 
getName()  | 
static void | 
main(java.lang.String[] args)  | 
void | 
setLabel(java.lang.String label)  | 
void | 
setName(java.lang.String name)  | 
static ClusterNodeRole | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ClusterNodeRole[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ClusterNodeRole PRIMARY
public static final ClusterNodeRole SERVICE
public static final ClusterNodeRole DB
public static final ClusterNodeRole PERFDB
public static ClusterNodeRole[] values()
for (ClusterNodeRole c : ClusterNodeRole.values()) System.out.println(c);
public static ClusterNodeRole 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 nullpublic java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public static void main(java.lang.String[] args)