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 availableCommands. If aCommandis 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 booleanexecute(org.apache.commons.chain.Context ctx)StringgetCommandKey()voidsetCommandKey(String commandKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein 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
-
-