public class RemoteTaskEvent extends TaskEvent implements NetEvent
| Modifier and Type | Class and Description |
|---|---|
static interface |
RemoteTaskEvent.Listener |
static interface |
RemoteTaskEvent.Source |
| Constructor and Description |
|---|
RemoteTaskEvent(RemoteRunStateFlag stateFlag) |
RemoteTaskEvent(RemoteRunStateFlag stateFlag,
java.lang.Exception error)
Constructor for a FAILED event
|
RemoteTaskEvent(RemoteRunStateFlag stateFlag,
java.lang.Object result)
Constructor for a SUCCEEDED event
|
RemoteTaskEvent(RemoteRunStateFlag stateFlag,
java.lang.Object info,
int step,
int maxSteps,
java.lang.String currMessg) |
| Modifier and Type | Method and Description |
|---|---|
DBTimestamp |
getEventTimestamp()
Returns the timestamp when the event was created
|
SessionId |
getKillerSessionId() |
RemoteRunStateFlag |
getRunStateFlag() |
SessionId |
getSessionId()
Returns the SessionId of the client who caused the change.
|
RemoteTaskId |
getTaskId() |
boolean |
isFaked()
Tells whether this is a faked event.
|
boolean |
isPlayBack()
Tells whether this is a playback event.
|
void |
setFaked(boolean isFaked)
Marks this as a faked event.
|
void |
setPlayBack(boolean isPlayBack)
Marks this as a playback event.
|
void |
setSessionId(SessionId sessId) |
void |
setWasCausedByMe(boolean wasCausedByMe)
Tells whether the event was caused by the client himself.
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
boolean |
wasCausedByMe()
Tells whether the event was caused by the client himself.
|
getChildCount, getChildNestingDepth, getCurrentChild, getError, getMaxChildTasks, getMaxProgressSteps, getProgressMessage, getProgressPercentage, getProgressStep, getResult, getRunState, getTaskName, isCancellable, isCancelled, isChildEvent, isChildFinished, isChildStarted, isChildSucceeded, isFailed, isFinished, isProgress, isRunning, isStarted, isSucceeded, wasCancelled, wasFailed, wasSucceededclone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic RemoteTaskEvent(RemoteRunStateFlag stateFlag, java.lang.Exception error)
public RemoteTaskEvent(RemoteRunStateFlag stateFlag, java.lang.Object result)
public RemoteTaskEvent(RemoteRunStateFlag stateFlag, java.lang.Object info, int step, int maxSteps, java.lang.String currMessg)
public RemoteTaskEvent(RemoteRunStateFlag stateFlag)
public void setFaked(boolean isFaked)
isFaked()public boolean isFaked()
public boolean isPlayBack()
JournalTask and which is being sent to
a client after having reattatched to it.public void setPlayBack(boolean isPlayBack)
isPlayBack()public DBTimestamp getEventTimestamp()
public RemoteRunStateFlag getRunStateFlag()
getRunStateFlag in class TaskEventpublic RemoteTaskId getTaskId()
public SessionId getKillerSessionId()
public void setSessionId(SessionId sessId)
public SessionId getSessionId()
NetEventgetSessionId in interface NetEventpublic void setWasCausedByMe(boolean wasCausedByMe)
NetEventsetWasCausedByMe in interface NetEventNetEvent.wasCausedByMe()public boolean wasCausedByMe()
NetEventwasCausedByMe in interface NetEventNetEvent.setWasCausedByMe(boolean)public ToString toString(ToString s)
Dumpablepublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class TaskEventCopyright © 2014 EsprIT-Systems. All Rights Reserved.