public static enum ExecutionLock.Scope extends Enum<ExecutionLock.Scope> implements Symbolic
Enum Constant and Description |
---|
BATCH
Batch scope.
|
EXECUTION
Execution scope.
|
FLOW
Flow scope.
|
WORLD
World scope.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionLock.Scope |
findFromSymbol(String symbol)
Returns an
ExecutionLock.Scope corresponded to the symbol. |
static ExecutionLock.Scope |
getDefault()
Returns the default scope.
|
String |
getSymbol()
Returns the symbol of this scope.
|
String |
toString() |
static ExecutionLock.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionLock.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionLock.Scope WORLD
public static final ExecutionLock.Scope BATCH
public static final ExecutionLock.Scope FLOW
public static final ExecutionLock.Scope EXECUTION
public static ExecutionLock.Scope[] values()
for (ExecutionLock.Scope c : ExecutionLock.Scope.values()) System.out.println(c);
public static ExecutionLock.Scope 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 ExecutionLock.Scope getDefault()
public String getSymbol()
public String toString()
toString
in class Enum<ExecutionLock.Scope>
public static ExecutionLock.Scope findFromSymbol(String symbol)
ExecutionLock.Scope
corresponded to the symbol.symbol
- target symbolnull
if not foundIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.