public class RenderCommand extends ConfiguredCommand<HelloWorldConfiguration>
| Constructor and Description |
|---|
RenderCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(net.sourceforge.argparse4j.inf.Subparser subparser)
Configure the command's
Subparser. |
protected void |
run(Bootstrap<HelloWorldConfiguration> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
HelloWorldConfiguration configuration)
Runs the command with the given
Bootstrap and Configuration. |
addFileArgument, cleanup, cleanupAsynchronously, getConfiguration, getConfigurationClass, rungetDescription, getName, onErrorpublic void configure(net.sourceforge.argparse4j.inf.Subparser subparser)
ConfiguredCommandSubparser. N.B.: if you override this method, you
must call super.override(subparser) in order to preserve the configuration
file parameter in the subparser.
configure in class ConfiguredCommand<HelloWorldConfiguration>subparser - the Subparser specific to the commandprotected void run(Bootstrap<HelloWorldConfiguration> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace, HelloWorldConfiguration configuration) throws Exception
ConfiguredCommandBootstrap and Configuration.run in class ConfiguredCommand<HelloWorldConfiguration>bootstrap - the bootstrap bootstrapnamespace - the parsed command line namespaceconfiguration - the configuration objectException - if something goes wrongCopyright © 2021. All rights reserved.