public enum DispatchMessageType extends Enum<DispatchMessageType>
Enum Constant and Description |
---|
ERROR
A failure message sent by the layer below to denote some kind of failure
(surprisingly)
|
JOB
A Job object and list of activities to be used to process the data in the
Job.
|
JOB_QUEUE
A reference to a queue of Job objects waiting to be used as input along
with a list of activities to process them.
|
RESULT
A Job object containing the result of a single activity invocation.
|
RESULT_COMPLETION
A (possibly partial) completion event from the layer below.
|
Modifier and Type | Method and Description |
---|---|
static DispatchMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchMessageType JOB_QUEUE
public static final DispatchMessageType JOB
public static final DispatchMessageType RESULT
public static final DispatchMessageType RESULT_COMPLETION
public static final DispatchMessageType ERROR
public static DispatchMessageType[] values()
for (DispatchMessageType c : DispatchMessageType.values()) System.out.println(c);
public static DispatchMessageType 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 © 2015–2016 The Apache Software Foundation. All rights reserved.