@Service(value=Command.class) @Property(name="COMMAND_NAME", value="dependency-analyzer") public class DependencyAnalyzerCommand extends Object implements Command
Constructor and Description |
---|
DependencyAnalyzerCommand() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
boolean |
isStorageRequired()
Whether the command depends on
Storage |
void |
run(CommandContext ctx)
Execute the command.
|
public static final String NAME
@Activate public void activate()
public void run(CommandContext ctx) throws CommandException
Command
com.redhat.thermostat.launcher.launcher.Launcher
will
present the exception message to the user.run
in interface Command
CommandException
public boolean isStorageRequired()
Command
Storage
isStorageRequired
in interface Command
Storage
is required.Copyright © 2017. All rights reserved.