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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommand(StackedCommand command) voidstatic CommandStackintvoidinsertCommand(StackedCommand command, int index) booleanisEmpty()booleanbooleanisValid()voidvoidsetExecuting(boolean executing) voidsetWaitTime(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()
-