Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
HUB_S |
private static java.lang.String |
NODE_S |
private static java.lang.String |
STANDALONE_S |
private static java.lang.String |
WD_S |
private static java.lang.String |
WEBDRIVER_S |
Modifier and Type | Method and Description |
---|---|
static GridRole |
get(java.lang.String role) |
java.lang.String |
toString() |
static GridRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GridRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridRole NOT_GRID
public static final GridRole HUB
public static final GridRole NODE
private static final java.lang.String WD_S
private static final java.lang.String WEBDRIVER_S
private static final java.lang.String NODE_S
private static final java.lang.String HUB_S
private static final java.lang.String STANDALONE_S
public static GridRole[] values()
for (GridRole c : GridRole.values()) System.out.println(c);
public static GridRole 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 static GridRole get(java.lang.String role)
public java.lang.String toString()
toString
in class java.lang.Enum<GridRole>