Class AbstractRemoteCommandActionResponseHandler<T extends AbstractRemoteCommandAction>
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.scripting.responsehandler.AbstractResponseHandler
-
- adams.terminal.menu.remotecommand.AbstractRemoteCommandActionResponseHandler<T>
-
- 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.responsehandler.ResponseHandler,Serializable
- Direct Known Subclasses:
AbstractRemoteFlowCommandAction.FlowListResponseHandler,RemoteLogging.LoggingResponseHandler
public abstract class AbstractRemoteCommandActionResponseHandler<T extends AbstractRemoteCommandAction> extends adams.scripting.responsehandler.AbstractResponseHandlerCustom handler for intercepting the responses from remote command actions.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRemoteCommandActionResponseHandler(T command)Initializes the handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetCommand()Returns the command this handler belongs to.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.scripting.responsehandler.AbstractResponseHandler
defineOptions, enabledTipText, getEnabled, getOwner, insertHandler, setEnabled, setOwner
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_Command
protected T extends AbstractRemoteCommandAction m_Command
the owner.
-
-
Constructor Detail
-
AbstractRemoteCommandActionResponseHandler
public AbstractRemoteCommandActionResponseHandler(T command)
Initializes the handler.- Parameters:
command- the command this handler belongs to
-
-
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
-
getCommand
public T getCommand()
Returns the command this handler belongs to.- Returns:
- the command, null if none set
-
-