public interface CommandContainer<T extends Command> extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
CommandContainerResult |
executeCommand(AeshLine line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
CommandInvocation commandInvocation) |
CommandContainerResult |
executeCommand(CommandLine commandLine,
InvocationProviders invocationProviders,
AeshContext aeshContext,
CommandInvocation commandInvocation) |
String |
getBuildErrorMessage() |
CommandLineParser<T> |
getParser() |
boolean |
haveBuildError() |
String |
printHelp(String childCommandName) |
close
CommandLineParser<T> getParser()
boolean haveBuildError()
String printHelp(String childCommandName)
childCommandName
- (for group commands)String getBuildErrorMessage()
CommandContainerResult executeCommand(AeshLine line, InvocationProviders invocationProviders, AeshContext aeshContext, CommandInvocation commandInvocation) throws CommandLineParserException, OptionValidatorException, CommandValidatorException, CommandException, InterruptedException
CommandContainerResult executeCommand(CommandLine commandLine, InvocationProviders invocationProviders, AeshContext aeshContext, CommandInvocation commandInvocation) throws CommandLineParserException, OptionValidatorException, CommandValidatorException, CommandException, InterruptedException
Copyright © 2017 JBoss by Red Hat. All rights reserved.