Package io.rabobank.ret.commands
Class PluginInitializeCommand
-
- All Implemented Interfaces:
-
java.lang.Runnable
public final class PluginInitializeCommand implements Runnable
Plugin Initialize Command
This is a mandatory sub command for any RET plugin that you create. RET will use it when executing
ret plugin initialize your-plugin. With this, RET will be able to run the plugin commands, automatically add autocompletion for the plugin, and prompt the user for any property that needs to be configured.
-
-
Field Summary
Fields Modifier and Type Field Description private CommandLine.Model.CommandSpeccommandSpecprivate StringpluginName
-
Constructor Summary
Constructors Constructor Description PluginInitializeCommand(ObjectMapper objectMapper, Config config, RetConsole retConsole, OsUtils osUtils)
-
Method Summary
Modifier and Type Method Description final CommandLine.Model.CommandSpecgetCommandSpec()final UnitsetCommandSpec(CommandLine.Model.CommandSpec commandSpec)final StringgetPluginName()final UnitsetPluginName(String pluginName)Unitrun()-
-
Method Detail
-
getCommandSpec
final CommandLine.Model.CommandSpec getCommandSpec()
-
setCommandSpec
final Unit setCommandSpec(CommandLine.Model.CommandSpec commandSpec)
-
getPluginName
final String getPluginName()
-
setPluginName
final Unit setPluginName(String pluginName)
-
-
-
-