Class CommandStack
java.lang.Object
org.yamcs.studio.commanding.stack.CommandStack
Client-side structure for keeping track of an ordered set of commands with various options and checks.
Currently a stack is considered to be something at a workbench level, but this would ideally be refactored later on.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommand
(StackedCommand command) void
static CommandStack
int
void
insertCommand
(StackedCommand command, int index) boolean
isEmpty()
boolean
boolean
isValid()
void
void
setExecuting
(boolean executing) void
setWaitTime
(int waitTime)
-
Constructor Details
-
CommandStack
public CommandStack()
-
-
Method Details
-
isExecuting
public boolean isExecuting() -
setExecuting
public void setExecuting(boolean executing) -
getWaitTime
public int getWaitTime() -
setWaitTime
public void setWaitTime(int waitTime) -
getInstance
-
addCommand
-
insertCommand
-
getCommands
-
isValid
public boolean isValid() -
getErrorMessages
-
disarmArmed
public void disarmArmed() -
resetExecutionState
public void resetExecutionState() -
isEmpty
public boolean isEmpty()
-