Class AliasCommand
java.lang.Object
net.datenwerke.rs.terminal.service.terminal.basecommands.AliasCommand
- All Implemented Interfaces:
Hook,ReloadConfigNotificationHook,TerminalCommandHook
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public class AliasCommand
extends Object
implements TerminalCommandHook, ReloadConfigNotificationHook
-
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) voidvoidreloadConfig(String identifier) void
-
Field Details
-
CONFIG_FILE
- See Also:
-
ENTRY_PROPERTY_COMMAND
- See Also:
-
ENTRY_PROPERTY_ALIAS
- See Also:
-
ENTRY_PROPERTY
- See Also:
-
-
Constructor Details
-
AliasCommand
-
-
Method Details
-
updateConfiguration
public void updateConfiguration() -
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-
execute
public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-
reloadConfig
public void reloadConfig()- Specified by:
reloadConfigin interfaceReloadConfigNotificationHook
-
reloadConfig
- Specified by:
reloadConfigin interfaceReloadConfigNotificationHook
-