Class PropertiesPutSubCommand
java.lang.Object
net.datenwerke.gf.service.properties.terminal.commands.PropertiesPutSubCommand
- All Implemented Interfaces:
PropertiesSubCommandHook,Hook,SubCommand,TerminalCommandHook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session) booleanconsumes(CommandParser parser, TerminalSession session) execute(CommandParser parser, TerminalSession session)
-
Field Details
-
BASE_COMMAND
- See Also:
-
-
Constructor Details
-
PropertiesPutSubCommand
public PropertiesPutSubCommand(<any> propertiesServiceProvider)
-
-
Method Details
-
getBaseCommand
- Specified by:
getBaseCommandin interfaceSubCommand
-
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-
execute
@CliHelpMessage(messageClass=PropertiesMessages.class,name="put",description="commandProperties_sub_put_description",nonOptArgs={@NonOptArgument(name="key",description="commandPropertiesPut_key",mandatory=true),@NonOptArgument(name="value",description="commandPropertiesPut_value",mandatory=true)}) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-