Interface CliCommand
-
- All Known Subinterfaces:
ConsoleCommand
- All Known Implementing Classes:
AbstractCmdLs
,AbstractCommand
,AbstractConsoleCommand
,AbstractJcrFsCommand
,AbstractVaultCommand
,CmdAdd
,CmdCat
,CmdCd
,CmdCheckout
,CmdCheckoutCli
,CmdCommit
,CmdConnect
,CmdConsole
,CmdCtx
,CmdDebug
,CmdDelete
,CmdDiff
,CmdDisconnect
,CmdDump
,CmdEnv
,CmdExec
,CmdExit
,CmdExport
,CmdExportCli
,CmdFormatCli
,CmdGet
,CmdHello
,CmdHelp
,CmdHistory
,CmdImport
,CmdImportCli
,CmdInfo
,CmdInvalidate
,CmdLoad
,CmdLogin
,CmdLogout
,CmdLs
,CmdLsAggregate
,CmdLsJcrFs
,CmdLsRepo
,CmdMixins
,CmdMount
,CmdPropGet
,CmdPropList
,CmdPropSet
,CmdPut
,CmdPwd
,CmdRcp
,CmdRefresh
,CmdResolved
,CmdRevert
,CmdRm
,CmdSave
,CmdSet
,CmdStatus
,CmdStore
,CmdSync
,CmdTree
,CmdUnmount
,CmdUpdate
,CmdVaultDebug
public interface CliCommand
Command Line Command
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.cli2.Option
OPT_QUIET
quiet option that can be globally usedstatic org.apache.commons.cli2.Option
OPT_VERBOSE
verbose option that can be globally used
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)
org.apache.commons.cli2.Option
getCommand()
String
getExample()
String
getLongDescription()
String
getName()
String
getShortDescription()
boolean
hasName(String name)
-
-
-
Method Detail
-
execute
boolean execute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl) throws Exception
- Throws:
Exception
-
getName
String getName()
-
getShortDescription
String getShortDescription()
-
getLongDescription
String getLongDescription()
-
getExample
String getExample()
-
hasName
boolean hasName(String name)
-
getCommand
org.apache.commons.cli2.Option getCommand()
-
-