Package org.apache.jackrabbit.vault.cli
Class CmdAdd
-
- All Implemented Interfaces:
CliCommand
,ConsoleCommand
public class CmdAdd extends AbstractVaultCommand
Implements the 'add' command.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.vault.util.console.CliCommand
OPT_QUIET, OPT_VERBOSE
-
-
Constructor Summary
Constructors Constructor Description CmdAdd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.commons.cli2.option.Command
createCommand()
protected void
doExecute(VaultFsApp app, org.apache.commons.cli2.CommandLine cl)
String
getLongDescription()
String
getShortDescription()
-
Methods inherited from class org.apache.jackrabbit.vault.cli.AbstractVaultCommand
doExecute, doExecute, doExecute
-
Methods inherited from class org.apache.jackrabbit.vault.cli.AbstractJcrFsCommand
doExecute
-
Methods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractConsoleCommand
execute
-
Methods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractCommand
execute, getCommand, getExample, getName, hasName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.vault.util.console.CliCommand
execute, getCommand, getExample, getName, hasName
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(VaultFsApp app, org.apache.commons.cli2.CommandLine cl) throws Exception
- Specified by:
doExecute
in classAbstractVaultCommand
- Throws:
Exception
-
getShortDescription
public String getShortDescription()
-
getLongDescription
public String getLongDescription()
- Specified by:
getLongDescription
in interfaceCliCommand
- Overrides:
getLongDescription
in classAbstractCommand
-
createCommand
protected org.apache.commons.cli2.option.Command createCommand()
- Specified by:
createCommand
in classAbstractCommand
-
-