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 CliCommandCommand Line Command
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.cli2.OptionOPT_QUIETquiet option that can be globally usedstatic org.apache.commons.cli2.OptionOPT_VERBOSEverbose option that can be globally used
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexecute(ExecutionContext ctx, org.apache.commons.cli2.CommandLine cl)org.apache.commons.cli2.OptiongetCommand()StringgetExample()StringgetLongDescription()StringgetName()StringgetShortDescription()booleanhasName(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()
-
-