public class ExecutionStatus extends Exchange
Modifier | Constructor and Description |
---|---|
protected |
ExecutionStatus() |
protected |
ExecutionStatus(String jobIdentifier,
String taskIdentifier,
int conditionFlag,
String description,
TaskLifecycleMetrics taskLifecycleMetrics,
String respondTo) |
protected |
ExecutionStatus(String jobIdentifier,
String taskIdentifier,
String respondTo) |
Modifier and Type | Method and Description |
---|---|
String |
getJobIdentifier() |
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.
|
void |
marshallExchangeSpecificElements(ds.funnel.data.format.FormatWriter mFormat)
This method is utilized by the derived classes to marshall (or serialize)
elements that are specific to the derived class.
|
String |
toString() |
void |
unmarshallExchangeSpecificElements(ds.funnel.data.format.FormatReader mFormat)
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(String jobIdentifier, String taskIdentifier, String respondTo)
protected ExecutionStatus(String jobIdentifier, String taskIdentifier, int conditionFlag, String description, TaskLifecycleMetrics taskLifecycleMetrics, String respondTo)
public boolean isValidExchangeSubType()
Exchange
isValidExchangeSubType
in class Exchange
true
If the exchange subType is a valid one, or
false
otherwise.public String getJobIdentifier()
public String getTaskIdentifier()
public TaskLifecycleMetrics getTaskLifecycleMetrics()
TaskLifecycleMetrics
associated with the
RESPONSE.public void marshallExchangeSpecificElements(ds.funnel.data.format.FormatWriter mFormat) throws ds.funnel.data.format.FormatException
Exchange
marshallExchangeSpecificElements
in class Exchange
mFormat
- The buffer formatter to write to.ds.funnel.data.format.FormatException
public void unmarshallExchangeSpecificElements(ds.funnel.data.format.FormatReader mFormat) throws ds.funnel.data.format.FormatException
Exchange
unmarshallExchangeSpecificElements
in class Exchange
mFormat
- The buffer formatter to read from.ds.funnel.data.format.FormatException
Copyright © 2015. All rights reserved.