org.rhq.enterprise.agent.promptcmd.aliases
Class QuitPromptCommand
java.lang.Object
org.rhq.enterprise.agent.promptcmd.ExitPromptCommand
org.rhq.enterprise.agent.promptcmd.aliases.QuitPromptCommand
- All Implemented Interfaces:
- AgentPromptCommand
public class QuitPromptCommand
- extends ExitPromptCommand
|
Method Summary |
String |
getPromptCommandString()
All implementations must indicate what the prompt command is that will trigger its execution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuitPromptCommand
public QuitPromptCommand()
getPromptCommandString
public String getPromptCommandString()
- Description copied from interface:
AgentPromptCommand
- All implementations must indicate what the prompt command is that will trigger its execution. This method returns
the prompt command name.
- Specified by:
getPromptCommandString in interface AgentPromptCommand- Overrides:
getPromptCommandString in class ExitPromptCommand
- Returns:
- the prompt command string - if the first prompt argument is this value, then this prompt command will be
executed.
- See Also:
AgentPromptCommand.getPromptCommandString()
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.