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 List<String> |
RCAliases() |
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.
|
static List<String> |
WDAliases() |
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
- Copyright © 2014. All rights reserved.