Package de.hsh.graja.devasgmt.cli
Class AsgmtBuilderCommandProvider
java.lang.Object
de.hsh.graja.util.cli.CommandProvider
de.hsh.graja.devasgmt.cli.AsgmtBuilderCommandProvider
- All Implemented Interfaces:
Comparable<CommandProvider>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is themainmethod of a command.protected StringgetAdditionalAddModulesOption(String command) For usage printout this method should return a comma-separated list of modules that need to be added on the command line to get thecommandrunning.protected StringFor usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get thecommandrunning.protected StringFor usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get thecommandrunning.protected String[]getCommands(Logging log) Methods inherited from class de.hsh.graja.util.cli.CommandProvider
compareTo, equals, getName, hashCode, provideCommands, validateCommand
-
Constructor Details
-
AsgmtBuilderCommandProvider
public AsgmtBuilderCommandProvider()
-
-
Method Details
-
getCommands
- Specified by:
getCommandsin classCommandProvider
-
getAdditionalAddModulesOption
Description copied from class:CommandProviderFor usage printout this method should return a comma-separated list of modules that need to be added on the command line to get thecommandrunning.- Overrides:
getAdditionalAddModulesOptionin classCommandProvider- Returns:
- Default: ""
-
getAdditionalModulePathOptionTemplate
Description copied from class:CommandProviderFor usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get thecommandrunning.- Overrides:
getAdditionalModulePathOptionTemplatein classCommandProvider- Returns:
- Default: ""
-
getAdditionalModulePathOptionExample
Description copied from class:CommandProviderFor usage printout this method should return a path-delimiter-separated list of module paths that need to be added on the --module-path command line option to get thecommandrunning.- Overrides:
getAdditionalModulePathOptionExamplein classCommandProvider- Returns:
- Default: ""
-
executeCommand
public void executeCommand(Logging log, String command, TreeMap<String, Object> options) throws CommandExceptionDescription copied from class:CommandProviderThis is themainmethod of a command. It is called byCommand.execute(Logging, String[]).- Specified by:
executeCommandin classCommandProvider- Parameters:
log- All output should go to this Logging instance- Throws:
CommandException
-