public enum SignalType extends Enum<SignalType>
WorkerResponseContext
.Enum Constant and Description |
---|
ERROR |
HALT |
MESSAGE |
RETURN |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static SignalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalType MESSAGE
public static final SignalType RETURN
public static final SignalType ERROR
public static final SignalType HALT
public static final SignalType TIMEOUT
public static SignalType[] values()
for (SignalType c : SignalType.values()) System.out.println(c);
public static SignalType 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 nullCopyright © 2018 WSO2. All rights reserved.