@Service(name="change-master-password") @PerLookup public class ChangeMasterPasswordCommand extends CLICommand
Modifier and Type | Field and Description |
---|---|
protected String |
domainDirParam |
protected String |
nodeDir |
argv, ASADMIN, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, lineReader, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, terminal, WARNING
Constructor and Description |
---|
ChangeMasterPasswordCommand() |
Modifier and Type | Method and Description |
---|---|
int |
execute(String... args)
Execute this command with the given arguemnts.
|
protected int |
executeCommand()
Execute the command using the options in options and the
operands in operands.
|
buildLineReader, buildTerminal, checkHelp, closeTerminal, execute, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prepare, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptions, validate
protected int executeCommand() throws CommandException
CLICommand
executeCommand
in class CLICommand
CommandException
- if execution of the command failsCommandValidationException
- if there's something wrong
with the options or argumentspublic int execute(String... args) throws CommandException
CLICommand
execute
in class CLICommand
args
- Arguments to execute command withCommandException
- if execution of the command failsCommandValidationException
- if there's something wrong
with the options or argumentsCopyright © 2021. All rights reserved.