org.rhq.enterprise.agent.promptcmd.aliases
Class QuitPromptCommand

java.lang.Object
  extended by org.rhq.enterprise.agent.promptcmd.ExitPromptCommand
      extended by org.rhq.enterprise.agent.promptcmd.aliases.QuitPromptCommand
All Implemented Interfaces:
AgentPromptCommand

public class QuitPromptCommand
extends ExitPromptCommand


Constructor Summary
QuitPromptCommand()
           
 
Method Summary
 String getPromptCommandString()
          All implementations must indicate what the prompt command is that will trigger its execution.
 
Methods inherited from class org.rhq.enterprise.agent.promptcmd.ExitPromptCommand
execute, getDetailedHelp, getHelp, getSyntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuitPromptCommand

public QuitPromptCommand()
Method Detail

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.