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
public abstract class AbstractVaultCommand extends AbstractJcrFsCommand
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 Constructor Description AbstractVaultCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doExecute(VaultFsApp app, org.apache.commons.cli2.CommandLine cl)
protected void
doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
protected void
doExecute(VltExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
void
doExecute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
-
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
createCommand, execute, getCommand, getExample, getLongDescription, 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, getLongDescription, getName, getShortDescription, hasName
-
-
-
-
Method Detail
-
doExecute
public void doExecute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Overrides:
doExecute
in classAbstractConsoleCommand
- Throws:
Exception
-
doExecute
protected void doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Specified by:
doExecute
in 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
-
-