Class RemoteFlowCommands
- java.lang.Object
-
- adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
-
- adams.terminal.menu.remotecommand.AbstractRemoteCommandActionWithGUI
-
- adams.terminal.menu.remotecommand.AbstractRemoteFlowCommandAction
-
- adams.terminal.menu.remotecommand.RemoteFlowCommands
-
- All Implemented Interfaces:
adams.scripting.processor.RemoteCommandProcessorHandler,Comparable<AbstractRemoteCommandAction>
public class RemoteFlowCommands extends AbstractRemoteFlowCommandAction
For executing actions on remote flows.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class adams.terminal.menu.remotecommand.AbstractRemoteFlowCommandAction
AbstractRemoteFlowCommandAction.FlowListResponseHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected com.googlecode.lanterna.gui2.Buttonm_ButtonExecutethe button for executing the command.protected com.googlecode.lanterna.gui2.TextBoxm_GOECommandthe commandline of the command to execute.protected LogTextBoxm_Logthe log for the responses.protected LogTextBoxResponseHandlerm_ResponseLoggerthe response logger.-
Fields inherited from class adams.terminal.menu.remotecommand.AbstractRemoteFlowCommandAction
DEFAULT_PORT, m_ButtonKillAdams, m_ButtonPauseFlow, m_ButtonRefresh, m_ButtonResumeFlow, m_ButtonStopAdams, m_ButtonStopFlow, m_PanelBottom, m_PanelFlows, m_TableFlows, m_TextLocal, m_TextRemote, NO_DATA
-
Fields inherited from class adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
m_CommandProcessor, m_Owner
-
-
Constructor Summary
Constructors Constructor Description RemoteFlowCommands()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.googlecode.lanterna.gui2.PanelcreatePanel()Creates the panel to display.protected voidexecuteCommand()Executes the current command on the specified flow.StringgetTitle()Returns the title of the action.protected voidinitialize()Initializes the members.protected voidupdateButtons()Updates the state of the buttons.-
Methods inherited from class adams.terminal.menu.remotecommand.AbstractRemoteFlowCommandAction
configureEngine, getFlowsTable, getSelectedFlowIDs, getSelectedRows, killAdams, pauseFlow, refreshFlows, resumeFlow, sendCommand, sendCommandWithReponse, sendCommandWithReponse, stopAdams, stopFlow
-
Methods inherited from class adams.terminal.menu.remotecommand.AbstractRemoteCommandActionWithGUI
doRun
-
Methods inherited from class adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
compareTo, configureEngine, equals, getCommandProcessor, getLogTextBox, getOwner, getRunnable, logError, logError, logMessage, postRun, preRun, sendCommand, sendCommandWithReponse, setCommandProcessor, setOwner
-
-
-
-
Field Detail
-
m_GOECommand
protected com.googlecode.lanterna.gui2.TextBox m_GOECommand
the commandline of the command to execute.
-
m_ButtonExecute
protected com.googlecode.lanterna.gui2.Button m_ButtonExecute
the button for executing the command.
-
m_Log
protected LogTextBox m_Log
the log for the responses.
-
m_ResponseLogger
protected LogTextBoxResponseHandler m_ResponseLogger
the response logger.
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initializein classAbstractRemoteCommandAction
-
getTitle
public String getTitle()
Returns the title of the action.- Specified by:
getTitlein classAbstractRemoteCommandAction- Returns:
- the title
-
createPanel
protected com.googlecode.lanterna.gui2.Panel createPanel()
Description copied from class:AbstractRemoteFlowCommandActionCreates the panel to display.- Overrides:
createPanelin classAbstractRemoteFlowCommandAction- Returns:
- the panel
-
executeCommand
protected void executeCommand()
Executes the current command on the specified flow.
-
updateButtons
protected void updateButtons()
Updates the state of the buttons.- Overrides:
updateButtonsin classAbstractRemoteFlowCommandAction
-
-