Package adams.scripting.command.flow
Class GetRatControlStatus
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.scripting.command.AbstractCommand
-
- adams.scripting.command.AbstractCommandWithResponse
-
- adams.scripting.command.AbstractRemoteCommandOnFlowWithResponse
-
- adams.scripting.command.flow.GetRatControlStatus
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.SizeOfHandler,adams.scripting.command.RemoteCommand,adams.scripting.command.RemoteCommandOnFlow,adams.scripting.command.RemoteCommandWithErrorMessage,adams.scripting.command.RemoteCommandWithResponse,Serializable
public class GetRatControlStatus extends adams.scripting.command.AbstractRemoteCommandOnFlowWithResponseRetrieves status of Rat actors managed by RatControl actor from a running/registered flow using its ID.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCOL_IDthe column of the flow ID.static intCOL_INTERACTIVEthe column of the interactive flag.static intCOL_PAUSABLEthe column of the pausable flag.static intCOL_PAUSEDthe column of the paused flag.static intCOL_RATthe column of the Rat name.static intCOL_STOPPABLEthe column of the stoppable flag.static intCOL_STOPPEDthe column of the stopped flag.protected adams.data.spreadsheet.SpreadSheetm_Statusthe status.-
Fields inherited from class adams.scripting.command.AbstractCommandWithResponse
m_ErrorMessage, m_ResponseConnection
-
Fields inherited from class adams.scripting.command.AbstractCommand
m_RemoteScriptingEngineHandler, m_Request
-
-
Constructor Summary
Constructors Constructor Description GetRatControlStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRequestPayload()Always zero-length array.Object[]getRequestPayloadObjects()Returns the objects that represent the request payload.byte[]getResponsePayload()Returns the payload of the response, if any.Object[]getResponsePayloadObjects()Returns the objects that represent the response payload.StringglobalInfo()Returns a string describing the object.StringIDTipText()Returns the tip text for this property.protected voidinitialize()Initializes the members.protected voidprepareResponsePayload()Hook method for preparing the response payload,voidsetRequestPayload(byte[] value)Ignored.voidsetResponsePayload(byte[] value)Sets the payload for the response.-
Methods inherited from class adams.scripting.command.AbstractRemoteCommandOnFlowWithResponse
defineOptions, getID, retrieveFlow, setID
-
Methods inherited from class adams.scripting.command.AbstractCommandWithResponse
afterSendResponse, assembleResponse, assembleResponseHeader, beforeSendResponse, doHandleRequest, getDefaultResponseConnection, getErrorMessage, getResponseConnection, handleResponse, hasErrorMessage, parse, responseConnectionTipText, setResponseConnection, toString
-
Methods inherited from class adams.scripting.command.AbstractCommand
afterSendRequest, assembleRequest, assembleRequestHeader, beforeSendRequest, getRemoteScriptingEngineHandler, handleRequest, isRequest, prepareRequestPayload, setRemoteScriptingEngineHandler, setRequest
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COL_ID
public static final int COL_ID
the column of the flow ID.- See Also:
- Constant Field Values
-
COL_RAT
public static final int COL_RAT
the column of the Rat name.- See Also:
- Constant Field Values
-
COL_PAUSABLE
public static final int COL_PAUSABLE
the column of the pausable flag.- See Also:
- Constant Field Values
-
COL_PAUSED
public static final int COL_PAUSED
the column of the paused flag.- See Also:
- Constant Field Values
-
COL_STOPPABLE
public static final int COL_STOPPABLE
the column of the stoppable flag.- See Also:
- Constant Field Values
-
COL_STOPPED
public static final int COL_STOPPED
the column of the stopped flag.- See Also:
- Constant Field Values
-
COL_INTERACTIVE
public static final int COL_INTERACTIVE
the column of the interactive flag.- See Also:
- Constant Field Values
-
m_Status
protected adams.data.spreadsheet.SpreadSheet m_Status
the status.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initializein classadams.scripting.command.AbstractCommand
-
IDTipText
public String IDTipText()
Returns the tip text for this property.- Specified by:
IDTipTextin interfaceadams.scripting.command.RemoteCommandOnFlow- Specified by:
IDTipTextin classadams.scripting.command.AbstractRemoteCommandOnFlowWithResponse- Returns:
- tip text for this property suitable for displaying in the gui
-
setRequestPayload
public void setRequestPayload(byte[] value)
Ignored.- Parameters:
value- the payload
-
getRequestPayload
public byte[] getRequestPayload()
Always zero-length array.- Returns:
- the payload
-
getRequestPayloadObjects
public Object[] getRequestPayloadObjects()
Returns the objects that represent the request payload.- Returns:
- the objects
-
setResponsePayload
public void setResponsePayload(byte[] value)
Sets the payload for the response.- Parameters:
value- the payload
-
getResponsePayload
public byte[] getResponsePayload()
Returns the payload of the response, if any.- Returns:
- the payload
-
prepareResponsePayload
protected void prepareResponsePayload()
Hook method for preparing the response payload,- Overrides:
prepareResponsePayloadin classadams.scripting.command.AbstractCommandWithResponse
-
getResponsePayloadObjects
public Object[] getResponsePayloadObjects()
Returns the objects that represent the response payload.- Returns:
- the objects
-
-