Package org.apache.jackrabbit.vault.cli
Class AbstractJcrFsCommand
- 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
-
- All Implemented Interfaces:
CliCommand
,ConsoleCommand
- Direct Known Subclasses:
AbstractCmdLs
,AbstractVaultCommand
,CmdCat
,CmdCheckout
,CmdConnect
,CmdDebug
,CmdDisconnect
,CmdDump
,CmdExport
,CmdGet
,CmdImport
,CmdInvalidate
,CmdLogin
,CmdLogout
,CmdMixins
,CmdMount
,CmdPut
,CmdRefresh
,CmdRm
,CmdSave
,CmdTree
,CmdUnmount
public abstract class AbstractJcrFsCommand extends AbstractConsoleCommand
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 AbstractJcrFsCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
protected void
doExecute(ConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
-
Methods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractConsoleCommand
doExecute, 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
protected void doExecute(ConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Specified by:
doExecute
in classAbstractConsoleCommand
- Throws:
Exception
-
doExecute
protected abstract void doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Throws:
Exception
-
-