public enum GridRole extends Enum<GridRole>
Modifier and Type | Method and Description |
---|---|
static GridRole |
find(String[] args)
finds the requested role from the parameters.
|
static boolean |
isRC(String nodeType) |
static boolean |
isWebDriver(String nodeType) |
static GridRole |
valueOf(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
public static GridRole[] values()
for (GridRole c : GridRole.values()) System.out.println(c);
public static GridRole 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 GridRole find(String[] args)
args
- command line argumentspublic static boolean isRC(String nodeType)
public static boolean isWebDriver(String nodeType)
Copyright © 2015. All rights reserved.