Package org.apache.jackrabbit.vault.cli
Class AbstractVaultCommand
java.lang.Object
org.apache.jackrabbit.vault.util.console.commands.AbstractCommand
org.apache.jackrabbit.vault.util.console.commands.AbstractConsoleCommand
org.apache.jackrabbit.vault.cli.AbstractJcrFsCommand
org.apache.jackrabbit.vault.cli.AbstractVaultCommand
- All Implemented Interfaces:
CliCommand,ConsoleCommand
- Direct Known Subclasses:
CmdAdd,CmdCheckoutCli,CmdCommit,CmdDelete,CmdDiff,CmdExportCli,CmdFormatCli,CmdImportCli,CmdInfo,CmdPropGet,CmdPropList,CmdPropSet,CmdRcp,CmdResolved,CmdRevert,CmdStatus,CmdSync,CmdUpdate,CmdVaultDebug
AbstractJcrFsCommand provides base functionality for JcrFs
commands.-
Field Summary
Fields inherited from interface org.apache.jackrabbit.vault.util.console.CliCommand
OPT_QUIET, OPT_VERBOSE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoExecute(VaultFsApp app, org.apache.commons.cli2.CommandLine cl) protected voiddoExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) protected voiddoExecute(VltExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) voiddoExecute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) Methods inherited from class org.apache.jackrabbit.vault.cli.AbstractJcrFsCommand
doExecuteMethods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractConsoleCommand
executeMethods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractCommand
createCommand, execute, getCommand, getExample, getLongDescription, getName, hasName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jackrabbit.vault.util.console.CliCommand
execute, getCommand, getExample, getLongDescription, getName, getShortDescription, hasName
-
Constructor Details
-
AbstractVaultCommand
public AbstractVaultCommand()
-
-
Method Details
-
doExecute
public void doExecute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception - Overrides:
doExecutein classAbstractConsoleCommand- Throws:
Exception
-
doExecute
protected void doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception - Specified by:
doExecutein classAbstractJcrFsCommand- Throws:
Exception
-
doExecute
protected void doExecute(VltExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception - Throws:
Exception
-
doExecute
protected abstract void doExecute(VaultFsApp app, org.apache.commons.cli2.CommandLine cl) throws Exception - Throws:
Exception
-