public abstract class RunStateStatusEvent extends ServerStatusEvent
RunState
of a remotely running task to a client that is displaying the
task in a list.ServerStatusEvent.Source
GenericEvent.Listener
Modifier | Constructor and Description |
---|---|
|
RunStateStatusEvent(NetMessageType msgType,
RunState runState) |
|
RunStateStatusEvent(NetMessageType msgType,
RunState runState,
java.lang.Exception error) |
|
RunStateStatusEvent(NetMessageType msgType,
RunState runState,
java.lang.String progressMessage) |
protected |
RunStateStatusEvent(NetMessageType msgType,
RunState runState,
java.lang.String message,
java.lang.Exception error) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getError() |
java.lang.String |
getProgressMessage() |
RunState |
getRunState() |
boolean |
hasError() |
boolean |
isCancelled() |
boolean |
isFailed() |
boolean |
isFinished() |
boolean |
isProgress() |
boolean |
isStarted() |
boolean |
isSucceeded() |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
getMessageType
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
public RunStateStatusEvent(NetMessageType msgType, RunState runState)
public RunStateStatusEvent(NetMessageType msgType, RunState runState, java.lang.String progressMessage)
public RunStateStatusEvent(NetMessageType msgType, RunState runState, java.lang.Exception error)
protected RunStateStatusEvent(NetMessageType msgType, RunState runState, java.lang.String message, java.lang.Exception error)
public java.lang.String getProgressMessage()
public boolean hasError()
public java.lang.Exception getError()
public RunState getRunState()
public boolean isStarted()
public boolean isProgress()
public boolean isSucceeded()
public boolean isCancelled()
public boolean isFailed()
public boolean isFinished()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.