public class ExecutionStatus extends Exchange
Modifier | Constructor and Description |
---|---|
protected |
ExecutionStatus() |
protected |
ExecutionStatus(java.lang.String jobIdentifier,
java.lang.String taskIdentifier,
int conditionFlag,
java.lang.String description,
TaskLifecycleMetrics taskLifecycleMetrics,
java.lang.String respondTo) |
protected |
ExecutionStatus(java.lang.String jobIdentifier,
java.lang.String taskIdentifier,
java.lang.String respondTo) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJobIdentifier() |
java.lang.String |
getTaskIdentifier() |
TaskLifecycleMetrics |
getTaskLifecycleMetrics()
Retrieve the
TaskLifecycleMetrics associated with the
RESPONSE. |
boolean |
isValidExchangeSubType()
Checks to see if the exchange sub-type in the reconstructed exchange is a
valid one.
|
byte[] |
marshallExchangeSpecificElements()
This method is utilized by the derived classes to marshall (or serialize)
elements that are specific to the derived class.
|
java.lang.String |
toString() |
void |
unmarshallExchangeSpecificElements(byte[] exchangeSpecificBytes)
This method is utilized by the derived classes to reconstruct elements
that are specific to the derived class.
|
getBytes, getConditionFlag, getDescription, getExchangeSubType, getExchangeType, getIdentifier, getRespondTo, getTimestamp, isRequest, isResponse, reconstruct, setConditionFlag, setDescription, setExchangeSubType, setExchangeType, setIdentifier, setRequest, setRespondTo, setResponse, setTimestamp
protected ExecutionStatus()
protected ExecutionStatus(java.lang.String jobIdentifier, java.lang.String taskIdentifier, java.lang.String respondTo)
protected ExecutionStatus(java.lang.String jobIdentifier, java.lang.String taskIdentifier, int conditionFlag, java.lang.String description, TaskLifecycleMetrics taskLifecycleMetrics, java.lang.String respondTo)
public boolean isValidExchangeSubType()
Exchange
isValidExchangeSubType
in class Exchange
true
If the exchange subType is a valid one, or
false
otherwise.public java.lang.String getJobIdentifier()
public java.lang.String getTaskIdentifier()
public TaskLifecycleMetrics getTaskLifecycleMetrics()
TaskLifecycleMetrics
associated with the
RESPONSE.public byte[] marshallExchangeSpecificElements() throws java.io.IOException, MarshallingException
Exchange
marshallExchangeSpecificElements
in class Exchange
java.io.IOException
- If there are IO problems while performing this operation.MarshallingException
- If there are Marshalling problems while performing this
operation.public void unmarshallExchangeSpecificElements(byte[] exchangeSpecificBytes) throws java.io.IOException, MarshallingException
Exchange
unmarshallExchangeSpecificElements
in class Exchange
exchangeSpecificBytes
- The byte[] representation of the derived class.java.io.IOException
- If there are IO problems while performing this operation.MarshallingException
- If there are Marshalling problems while performing this
operation.public java.lang.String toString()
toString
in class java.lang.Object