|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.agent.promptcmd.DumpSpoolPromptCommand
public class DumpSpoolPromptCommand
Dumps the contents of the persisted command spool file. This is probably a rarely used command mainly for testing and debugging. It allows you to see what commands are currently stored in the command spool file in case you are interested to know what commands marked for guaranteed delivery have been persisted but not yet sent.
| Constructor Summary | |
|---|---|
DumpSpoolPromptCommand()
|
|
| Method Summary | |
|---|---|
boolean |
execute(AgentMain agent,
String[] args)
Executes the agent prompt command with the given arguments. |
String |
getDetailedHelp()
Returns a detailed help message to describe to the user what the command's syntax is and any detailed information that is useful to the user that wants to use this command. |
String |
getHelp()
Returns a help summary to describe to the user what the prompt command does and its purpose. |
String |
getPromptCommandString()
All implementations must indicate what the prompt command is that will trigger its execution. |
String |
getSyntax()
Returns a one-line usage string to describe the syntax of the command including all optional and required arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DumpSpoolPromptCommand()
| Method Detail |
|---|
public String getPromptCommandString()
AgentPromptCommand
getPromptCommandString in interface AgentPromptCommandAgentPromptCommand.getPromptCommandString()
public boolean execute(AgentMain agent,
String[] args)
AgentPromptCommand
execute in interface AgentPromptCommandagent - the agent itselfargs - the arguments passed to the agent on the agent prompt
true if the agent can continue accepting prompt commands; false if the agent
should dieAgentPromptCommand.execute(AgentMain, String[])public String getSyntax()
AgentPromptCommand
getSyntax in interface AgentPromptCommandAgentPromptCommand.getSyntax()public String getHelp()
AgentPromptCommand
getHelp in interface AgentPromptCommandAgentPromptCommand.getHelp()public String getDetailedHelp()
AgentPromptCommand
getDetailedHelp in interface AgentPromptCommandAgentPromptCommand.getDetailedHelp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||