public static enum RuntimeContext.ExecutionMode extends Enum<RuntimeContext.ExecutionMode>
| Enum Constant and Description |
|---|
PRODUCTION
Normal execution.
|
SIMULATION
Simulated execution.
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeContext.ExecutionMode |
fromSymbol(String symbol)
Returns a member which is represented by the symbol.
|
String |
getSymbol()
Returns the symbol of this mode.
|
static RuntimeContext.ExecutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeContext.ExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeContext.ExecutionMode PRODUCTION
public static final RuntimeContext.ExecutionMode SIMULATION
public static RuntimeContext.ExecutionMode[] values()
for (RuntimeContext.ExecutionMode c : RuntimeContext.ExecutionMode.values()) System.out.println(c);
public static RuntimeContext.ExecutionMode 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()
public static RuntimeContext.ExecutionMode fromSymbol(String symbol)
symbol - target symbolnull if there is no such memberIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.