public class ExecutionExternalProgressReportStateEvent extends ExecutionStateEvent
ExecutionStateEvent.EventName| Constructor and Description |
|---|
ExecutionExternalProgressReportStateEvent()
Instantiates a new execution external progress report state event.
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps)
Instantiates a new execution external progress report state event.
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
int CurrentStep,
int TotalSteps,
String Message)
Instantiates a new execution external progress report state event.
|
ExecutionExternalProgressReportStateEvent(String ID,
String ExternalSender,
String Message)
Instantiates a new execution external progress report state event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decode(byte[] buf)
Decode.
|
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 |
GetExternalSender()
Gets the external sender.
|
String |
GetID()
Gets the id.
|
String |
GetMessage()
Gets the message.
|
int |
GetTotalSteps()
Gets the total steps.
|
void |
SetCurrentStep(int CurrentStep)
Sets the current step.
|
void |
SetExternalSender(String ExternalSender)
Sets the external sender.
|
void |
SetMessage(String Message)
Sets the message.
|
void |
SetTotalSteps(int TotalSteps)
Sets the total steps.
|
SetChangedaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic ExecutionExternalProgressReportStateEvent()
public ExecutionExternalProgressReportStateEvent(String ID, String ExternalSender, String Message)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderMessage - the messagepublic ExecutionExternalProgressReportStateEvent(String ID, String ExternalSender, int CurrentStep, int TotalSteps)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionpublic ExecutionExternalProgressReportStateEvent(String ID, String ExternalSender, int CurrentStep, int TotalSteps, String Message)
ID - the iD of the plan element responsible for the external component emitting the eventExternalSender - the external senderCurrentStep - the current step the current step of the executionTotalSteps - the total steps the total steps of the executionMessage - the messagepublic String GetID()
public boolean DoesReportProgress()
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 void SetMessage(String Message)
Message - the messagepublic String GetExternalSender()
public void SetExternalSender(String ExternalSender)
ExternalSender - the external senderpublic 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 © 2014. All Rights Reserved.