public interface CommandPopulator<T,C extends Command>
| Modifier and Type | Method and Description |
|---|---|
T |
getObject() |
void |
populateObject(CommandLine<C> line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
boolean validate)
Populate a Command instance with the values parsed from a command line
If any parser errors are detected it will throw an exception
|
void populateObject(CommandLine<C> line, InvocationProviders invocationProviders, AeshContext aeshContext, boolean validate) throws CommandLineParserException, OptionValidatorException
line - command lineaeshContext - the contextvalidate - based on rules given to the parserCommandLineParserExceptionOptionValidatorExceptionT getObject()
Copyright © 2018 JBoss by Red Hat. All rights reserved.