Class OperationCommandContainer

  • All Implemented Interfaces:
    AutoCloseable, org.aesh.command.container.CommandContainer<CLICommandInvocation>

    public class OperationCommandContainer
    extends org.aesh.command.container.DefaultCommandContainer<CLICommandInvocation>
    A container that handles DMR operations in order to allow to mix legacy commands with new commands when aesh operators are in use. Aesh parsing and completion are disabled and delegated to legacy parsing and completion. Because the set of operation names is unbounded, any command that starts with a ":", "/" or "." is concidered an operation and this container will handle the command.
    Author:
    jdenise@redhat.com
    • Constructor Detail

    • Method Detail

      • isOperation

        public static boolean isOperation​(String mainCommand)
      • getParser

        public org.aesh.command.impl.parser.CommandLineParser<CLICommandInvocation> getParser()
      • haveBuildError

        public boolean haveBuildError()
      • getBuildErrorMessage

        public String getBuildErrorMessage()