Class CommandStack

java.lang.Object
org.yamcs.studio.commanding.stack.CommandStack

public class CommandStack extends Object
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 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

      public static CommandStack getInstance()
    • addCommand

      public void addCommand(StackedCommand command)
    • insertCommand

      public void insertCommand(StackedCommand command, int index)
    • getCommands

      public List<StackedCommand> getCommands()
    • isValid

      public boolean isValid()
    • getErrorMessages

      public List<String> getErrorMessages()
    • disarmArmed

      public void disarmArmed()
    • resetExecutionState

      public void resetExecutionState()
    • isEmpty

      public boolean isEmpty()