Class Help
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.Help
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Help extends Object implements org.apache.commons.chain.Command
Show availableCommand
s. If aCommand
is specified it will show its description, usage and parameters.
-
-
Constructor Summary
Constructors Constructor Description Help()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getCommandKey()
void
setCommandKey(String commandKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.apache.commons.chain.Command
- Throws:
Exception
-
getCommandKey
public String getCommandKey()
- Returns:
- the command key
-
setCommandKey
public void setCommandKey(String commandKey)
- Parameters:
commandKey
- the command key to set
-
-