public class DBService extends BasicCommand
Constructor and Description |
---|
DBService() |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Called when the command is being removed from the system.
|
Collection<ArgumentSpec> |
getAcceptedArguments()
Returns a collection of arguments that the command is prepared to handle.
|
com.redhat.thermostat.tools.db.DBStartupConfiguration |
getConfiguration() |
String |
getDescription()
A short description for the command indicating what it does.
|
String |
getName()
Returns a name for this command.
|
String |
getUsage()
How the user should invoke this command
|
void |
run(CommandContext ctx)
Execute the command
|
getNotifier, isStorageRequired, setStorageRequired
public void run(CommandContext ctx) throws CommandException
Command
CommandException
public void disable()
Command
public com.redhat.thermostat.tools.db.DBStartupConfiguration getConfiguration()
getConfiguration
in class BasicCommand
public String getName()
Command
public String getDescription()
Command
public String getUsage()
Command
public Collection<ArgumentSpec> getAcceptedArguments()
Command
Copyright © 2012. All Rights Reserved.