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
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(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) protected voiddoExecute(ConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) Methods inherited from class org.apache.jackrabbit.vault.util.console.commands.AbstractConsoleCommand
doExecute, 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
-
AbstractJcrFsCommand
public AbstractJcrFsCommand()
-
-
Method Details
-
doExecute
protected void doExecute(ConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception - Specified by:
doExecutein classAbstractConsoleCommand- Throws:
Exception
-
doExecute
protected abstract void doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception - Throws:
Exception
-