Class BatchCommand

  • All Implemented Interfaces:
    Command

    public class BatchCommand
    extends Object
    implements Command
    A batch of Commands to be executed as an atomic unit
    • Constructor Detail

      • BatchCommand

        public BatchCommand​(List<Command> commands)
      • BatchCommand

        public BatchCommand​(Command... commands)
    • Method Detail

      • undo

        public Results undo​(RuleManager ruleManager)
        Description copied from interface: Command
        Undo the changes the command made to the model
        Specified by:
        undo in interface Command
        Returns: