public static enum ExecutionScript.Kind extends Enum<ExecutionScript.Kind> implements Symbolic
ExecutionScript
.Enum Constant and Description |
---|
COMMAND
Generic command script.
|
HADOOP
Script corresponding to Hadoop.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionScript.Kind |
findFromSymbol(String symbol)
Returns an
ExecutionScript.Kind corresponded to the symbol. |
String |
getSymbol()
Returns the symbol of this phase.
|
static ExecutionScript.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionScript.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionScript.Kind COMMAND
public static final ExecutionScript.Kind HADOOP
public static ExecutionScript.Kind[] values()
for (ExecutionScript.Kind c : ExecutionScript.Kind.values()) System.out.println(c);
public static ExecutionScript.Kind 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 String getSymbol()
ExecutionScript
s.public static ExecutionScript.Kind findFromSymbol(String symbol)
ExecutionScript.Kind
corresponded to the symbol.symbol
- target symbolnull
if not foundIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.