Class CompoundCommand

  • All Implemented Interfaces:
    Command

    public class CompoundCommand
    extends java.lang.Object
    implements Command
    A compound operation contains one or more other commands.
    • Constructor Detail

      • CompoundCommand

        public CompoundCommand​(java.util.List<Command> commands)
        New Compound Command containing the specified commands.
        Parameters:
        commands -
      • CompoundCommand

        public CompoundCommand​(java.util.List<Command> commands,
                               java.util.List<Command> postCommitCommands)
        New Compound Command containing the specified commands.
        Parameters:
        commands -
      • CompoundCommand

        public CompoundCommand​(java.util.List<Command> commands,
                               java.util.List<Command> postCommitCommands,
                               java.util.List<Command> postErrorCommands)