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, wasSucceeded
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public 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 TaskEvent
public RemoteTaskId getTaskId()
public SessionId getKillerSessionId()
public void setSessionId(SessionId sessId)
public SessionId getSessionId()
NetEvent
getSessionId
in interface NetEvent
public void setWasCausedByMe(boolean wasCausedByMe)
NetEvent
setWasCausedByMe
in interface NetEvent
NetEvent.wasCausedByMe()
public boolean wasCausedByMe()
NetEvent
wasCausedByMe
in interface NetEvent
NetEvent.setWasCausedByMe(boolean)
public ToString toString(ToString s)
Dumpable
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class TaskEvent
Copyright © 2014 EsprIT-Systems. All Rights Reserved.