T
- the Configuration
subclass which is loaded from the configuration filepublic class CheckCommand<T extends Configuration> extends ConfiguredCommand<T>
Constructor and Description |
---|
CheckCommand(Application<T> application) |
Modifier and Type | Method and Description |
---|---|
protected Class<T> |
getConfigurationClass()
Returns the
Class of the configuration type. |
protected void |
run(Bootstrap<T> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
T configuration)
Runs the command with the given
Bootstrap and Configuration . |
addFileArgument, cleanup, cleanupAsynchronously, configure, run
getDescription, getName
public CheckCommand(Application<T> application)
protected Class<T> getConfigurationClass()
ConfiguredCommand
Class
of the configuration type.getConfigurationClass
in class ConfiguredCommand<T extends Configuration>
Class
of the configuration typeprotected void run(Bootstrap<T> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration) throws Exception
ConfiguredCommand
Bootstrap
and Configuration
.run
in class ConfiguredCommand<T extends Configuration>
bootstrap
- the bootstrap bootstrapnamespace
- the parsed command line namespaceconfiguration
- the configuration objectException
- if something goes wrongCopyright © 2016. All rights reserved.