public interface Command
process(IRPMService, Map) is called.
Commands are registered with the CommandParser.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The name of this command.
|
java.util.Map |
process(IRPMService rpmService,
java.util.Map arguments)
Executes this command.
|
java.lang.String getName()
java.util.Map process(IRPMService rpmService, java.util.Map arguments) throws CommandException
CommandParser.beforeHarvest(java.lang.String, com.newrelic.agent.stats.StatsEngine) if
it receives a command from the rpm service that matches this command.CommandException