public class IdCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
IdCommand(UserManagerService userService,
BsiPasswordPolicyService bsiPasswordPolicyService,
HistoryService historyService) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoCompletEntries(AutocompleteHelper autocompleteHelper,
TerminalSession session) |
boolean |
consumes(CommandParser parser,
TerminalSession session) |
CommandResult |
execute(CommandParser parser,
TerminalSession session) |
public static final java.lang.String BASE_COMMAND
public IdCommand(UserManagerService userService, BsiPasswordPolicyService bsiPasswordPolicyService, HistoryService historyService)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=UserManagerMessages.class, name="id", description="commandId_description", nonOptArgs=@NonOptArgument(name="username",description="commandId_arg_username",mandatory=true)) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException
execute
in interface TerminalCommandHook
TerminalException
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook