Package org.apache.jackrabbit.vault.cli
Class CmdCheckoutCli
-
- All Implemented Interfaces:
CliCommand
,ConsoleCommand
public class CmdCheckoutCli extends AbstractVaultCommand
Implements the 'checkout' command. there are 2 forms, either: co rmi://localhost/crx.default/apps/components or: co --mountpoint=rmi://localhost/crx.default /apps/components
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.vault.util.console.CliCommand
OPT_QUIET, OPT_VERBOSE
-
-
Constructor Summary
Constructors Constructor Description CmdCheckoutCli()
-
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)
protected void
doExecute(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
String
getLongDescription()
String
getShortDescription()
-
Methods inherited from class org.apache.jackrabbit.vault.cli.AbstractVaultCommand
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(VaultFsConsoleExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Overrides:
doExecute
in classAbstractVaultCommand
- Throws:
Exception
-
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
-
-