public interface CommandContainer<T extends Command> extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
CommandContainerResult |
executeCommand(AeshLine line,
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, IOException, InterruptedException
Copyright © 2024 JBoss by Red Hat. All rights reserved.