Package | Description |
---|---|
io.dropwizard | |
io.dropwizard.cli |
Modifier and Type | Method and Description |
---|---|
protected void |
Application.addDefaultCommands(Bootstrap<T> bootstrap)
Called by
Application.run(String...) to add the standard "server" and "check" commands |
default void |
ConfiguredBundle.initialize(Bootstrap<?> bootstrap)
Initializes the application bootstrap.
|
void |
Application.initialize(Bootstrap<T> bootstrap)
Initializes the application bootstrap.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Command.run(Bootstrap<?> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace)
Executes when the user runs this specific command.
|
void |
ConfiguredCommand.run(Bootstrap<?> wildcardBootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace) |
protected void |
CheckCommand.run(Bootstrap<T> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
T configuration) |
protected void |
EnvironmentCommand.run(Bootstrap<T> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
T configuration) |
protected abstract void |
ConfiguredCommand.run(Bootstrap<T> bootstrap,
net.sourceforge.argparse4j.inf.Namespace namespace,
T configuration)
Runs the command with the given
Bootstrap and Configuration . |
Constructor and Description |
---|
Cli(JarLocation location,
Bootstrap<?> bootstrap,
OutputStream stdOut,
OutputStream stdErr)
Create a new CLI interface for a application and its bootstrapped environment.
|
Copyright © 2011. All rights reserved.