public static enum InvocationRequestPayload.InvokeType extends java.lang.Enum<InvocationRequestPayload.InvokeType>
Enum Constant and Description |
---|
EXTERNAL_PROGRAM |
FUNCTION |
PROCEDURE |
Modifier and Type | Field and Description |
---|---|
private byte |
type
A numeric representation of the enum's entry.
|
Modifier and Type | Method and Description |
---|---|
static InvocationRequestPayload.InvokeType |
fromByte(byte code)
Resolve a invocation type, from its numeric representation.
|
byte |
getType()
Get the type of this target.
|
static InvocationRequestPayload.InvokeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvocationRequestPayload.InvokeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvocationRequestPayload.InvokeType EXTERNAL_PROGRAM
public static final InvocationRequestPayload.InvokeType PROCEDURE
public static final InvocationRequestPayload.InvokeType FUNCTION
public static InvocationRequestPayload.InvokeType[] values()
for (InvocationRequestPayload.InvokeType c : InvocationRequestPayload.InvokeType.values()) System.out.println(c);
public static InvocationRequestPayload.InvokeType 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 byte getType()
public static InvocationRequestPayload.InvokeType fromByte(byte code)
code
- The numeric representation of this type.java.lang.IllegalArgumentException
- If code
is something other than 0, 1 or 2 value.