Package de.hsh.graja.variability.is
Class VariabilityCommandProvider
- java.lang.Object
-
- de.hsh.graja.util.cli.CommandProvider
-
- de.hsh.graja.variability.is.VariabilityCommandProvider
-
- All Implemented Interfaces:
Comparable<CommandProvider>
public class VariabilityCommandProvider extends CommandProvider
This class provides commands on the command line for variability functions.
-
-
Constructor Summary
Constructors Constructor Description VariabilityCommandProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeCommand(Logging log, String command, TreeMap<String,Object> options)
This is themain
method of a command.protected String[]
getCommands(Logging log)
-
Methods inherited from class de.hsh.graja.util.cli.CommandProvider
compareTo, equals, getAdditionalAddModulesOption, getAdditionalModulePathOptionExample, getAdditionalModulePathOptionTemplate, getName, hashCode, provideCommands, validateCommand
-
-
-
-
Method Detail
-
getCommands
protected String[] getCommands(Logging log)
- Specified by:
getCommands
in classCommandProvider
-
executeCommand
public void executeCommand(Logging log, String command, TreeMap<String,Object> options) throws CommandException
Description copied from class:CommandProvider
This is themain
method of a command. It is called byCommand.execute(Logging, String[])
.- Specified by:
executeCommand
in classCommandProvider
- Parameters:
log
- All output should go to this Logging instance- Throws:
CommandException
-
-