public enum ExecutionKind extends Enum<ExecutionKind>
Enum Constant and Description |
---|
BEGIN
Creates and keeps a session.
|
CONTINUE
Attaches and keeps a session .
|
END
Attaches and completes a session.
|
ONESHOT
Creates and completes a session.
|
Modifier and Type | Field and Description |
---|---|
boolean |
completesSession
Whether this execution completes a session.
|
boolean |
createsSession
Whether this execution creates a new session.
|
String |
symbol
The symbol of this kind.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionKind |
parse(String symbol)
Returns a constant corresponded to the specified symbol.
|
String |
toString() |
static ExecutionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionKind BEGIN
public static final ExecutionKind CONTINUE
public static final ExecutionKind END
public static final ExecutionKind ONESHOT
public final String symbol
public final boolean createsSession
public final boolean completesSession
public static ExecutionKind[] values()
for (ExecutionKind c : ExecutionKind.values()) System.out.println(c);
public static ExecutionKind 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 ExecutionKind parse(String symbol)
symbol
- the symbol of kindnull
if does not exist such a constantpublic String toString()
toString
in class Enum<ExecutionKind>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.