public class ExecutionProgressReportStateEvent extends ExecutionStateEvent
ExecutionStateEvent.EventName| Constructor and Description |
|---|
ExecutionProgressReportStateEvent()
Instantiates a new execution progress report state event.
|
ExecutionProgressReportStateEvent(String ID,
int CurrentStep,
int TotalSteps)
Instantiates a new execution progress report state event.
|
ExecutionProgressReportStateEvent(String ID,
int CurrentStep,
int TotalSteps,
String Message)
Instantiates a new execution progress report state event.
|
ExecutionProgressReportStateEvent(String ID,
int SuccessfulNodes,
int TotalNodes,
String Message,
boolean ReportsNodeStatus)
Instantiates a new execution progress report state event.
|
ExecutionProgressReportStateEvent(String ID,
int CurrentStep,
int TotalSteps,
String Message,
String NodeName,
String NodeHostName,
int NodePort)
Instantiates a new execution progress report state event.
|
ExecutionProgressReportStateEvent(String ID,
String Message)
Instantiates a new execution progress report state event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decode(byte[] buf)
Decode.
|
boolean |
DoesReportNodeProgress()
Does report node progress.
|
boolean |
DoesReportNodeStatus()
Does report node status.
|
boolean |
DoesReportProgress()
Does report progress.
|
void |
DoesReportProgress(boolean ReportsProgress)
Does report progress.
|
byte[] |
Encode()
Encode.
|
int |
GetCurrentStep()
Gets the current step.
|
long |
GetEmitTimestamp()
Gets the timestamp the event was emitted.
|
ExecutionStateEvent.EventName |
GetEventName()
Gets the event name.
|
String |
GetID()
Gets the id.
|
String |
GetMessage()
Gets the message.
|
String |
GetNodeHostName()
Gets the node host name.
|
String |
GetNodeName()
Gets the node name.
|
int |
GetNodePort()
Gets the node port.
|
int |
GetTotalSteps()
Gets the total steps.
|
void |
SetCurrentStep(int CurrentStep)
Sets the current step.
|
void |
SetMessage(String Message)
Sets the message.
|
void |
SetTotalSteps(int TotalSteps)
Sets the total steps.
|
SetChangedaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic ExecutionProgressReportStateEvent()
public ExecutionProgressReportStateEvent(String ID, String Message)
ID - the iD of the plan element emitting the eventMessage - the messagepublic ExecutionProgressReportStateEvent(String ID, int CurrentStep, int TotalSteps)
ID - the iD of the plan element emitting the eventCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionpublic ExecutionProgressReportStateEvent(String ID, int CurrentStep, int TotalSteps, String Message)
ID - the iD of the plan element emitting the eventCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionMessage - the messagepublic ExecutionProgressReportStateEvent(String ID, int SuccessfulNodes, int TotalNodes, String Message, boolean ReportsNodeStatus)
ID - the iD of the plan element emitting the eventSuccessfulNodes - the number of nodes which completed execution successfullyTotalNodes - the total number of nodes in the executionReportsNodeStatus - should be true to enable node status retrievalMessage - the messagepublic ExecutionProgressReportStateEvent(String ID, int CurrentStep, int TotalSteps, String Message, String NodeName, String NodeHostName, int NodePort)
ID - the iD of the plan element emitting the eventCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionNodeName - NodeHostName - NodePort - Message - the messagepublic String GetID()
public boolean DoesReportProgress()
public boolean DoesReportNodeProgress()
public boolean DoesReportNodeStatus()
public void DoesReportProgress(boolean ReportsProgress)
ReportsProgress - the reports progresspublic int GetCurrentStep()
public void SetCurrentStep(int CurrentStep)
CurrentStep - the current steppublic int GetTotalSteps()
public void SetTotalSteps(int TotalSteps)
TotalSteps - the total stepspublic String GetMessage()
public String GetNodeName()
public String GetNodeHostName()
public int GetNodePort()
public void SetMessage(String Message)
Message - the messagepublic ExecutionStateEvent.EventName GetEventName()
ExecutionStateEventGetEventName in class ExecutionStateEventpublic long GetEmitTimestamp()
ExecutionStateEventGetEmitTimestamp in class ExecutionStateEventpublic void Decode(byte[] buf)
throws ExecutionSerializationException
ExecutionStateEventDecode in class ExecutionStateEventbuf - the byte array containing the encoded event as serialized by ExecutionStateEvent.Encode()ExecutionSerializationException - A serialization error occurredpublic byte[] Encode()
throws ExecutionSerializationException
ExecutionStateEventEncode in class ExecutionStateEventExecutionSerializationException - A serialization error occurredCopyright © 2015. All Rights Reserved.