Enum Constant and Description |
---|
DPL_NO_SYNCONRETURN
A distributed program link (DPL) request that did not
specify the SYNCONRETURN option.
|
DPL_SYNCONRETURN
A distributed program link (DPL) request
that did specify the SYNCONRETURN option.
|
FEPI_START_COMMAND
FEPI START command.
|
START_COMMAND_WITH_DATA
START command that passed data in the FROM option.
|
START_COMMAND_WITHOUT_DATA
START command that did not pass data in the FROM option.
|
TERMINAL_INPUT
Terminal input or permanent transaction id.
|
TRANSIENT_DATA_TRIGGERED
Transient data trigger level.
|
USER_ATTACHED
User-attached task.
|
Modifier and Type | Method and Description |
---|---|
static StartCode |
fromShortCode(java.lang.String shortStartCode)
Turns a string representation of the start code into one of these
enumerated values.
|
java.lang.String |
getShortCode() |
java.lang.String |
toString() |
static StartCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StartCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartCode DPL_NO_SYNCONRETURN
public static final StartCode DPL_SYNCONRETURN
public static final StartCode TRANSIENT_DATA_TRIGGERED
public static final StartCode START_COMMAND_WITHOUT_DATA
public static final StartCode START_COMMAND_WITH_DATA
public static final StartCode FEPI_START_COMMAND
public static final StartCode TERMINAL_INPUT
public static final StartCode USER_ATTACHED
public static StartCode[] values()
for (StartCode c : StartCode.values()) System.out.println(c);
public static StartCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<StartCode>
public static StartCode fromShortCode(java.lang.String shortStartCode)
shortStartCode
- The string reason for starting the task.
Valid values are:
'D'
'DS'
'QD'
'S'
'SD'
'SZ'
'TD'
or 'U'
Note: Prior to use, any white space in the shortStartCode is trimmed off.
So for example 'D '
is valid input.java.lang.RuntimeException
- if the string is not one of the recognised codes.public java.lang.String getShortCode()