@Service(name="_change-master-password-das") @PerLookup public class ChangeMasterPasswordCommandDAS extends LocalDomainCommand
Modifier and Type | Field and Description |
---|---|
protected String |
domainName0 |
protected boolean |
savemp |
domainDirParam
argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING
Constructor and Description |
---|
ChangeMasterPasswordCommandDAS() |
Modifier and Type | Method and Description |
---|---|
int |
execute(String... argv)
Execute this command with the given arguemnts.
|
protected int |
executeCommand()
Execute the command using the options in options and the
operands in operands.
|
protected void |
validate()
The validate method can be used by a subclass to validate
that the type and quantity of parameters and operands matches
the requirements for this command.
|
getDomainName, getDomainRootDir, getDomainsDir, initDomain, isThisDAS, prepare, setDomainName
checkForSpecialFiles, getAdminAddress, getAdminAddress, getDomainXml, getMasterPassword, getMasterPasswordFile, getPrevPid, getServerDirs, getServerPid, getUptime, isLocal, isRemote, isRestartable, isRunning, isRunning, isThisServer, loadAndVerifyKeystore, readFromMasterPasswordFile, resetServerDirs, setLocalPassword, setServerDirs, unsetLocalPassword, verifyMasterPassword, waitForRestart
checkHelp, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptions
protected String domainName0
protected boolean savemp
protected void validate() throws CommandException
CLICommand
validate
in class LocalDomainCommand
CommandException
- if execution of the command failsCommandValidationException
- if there's something wrong
with the options or argumentspublic int execute(String... argv) throws CommandException
CLICommand
execute
in class CLICommand
argv
- Arguments to execute command withCommandException
- if execution of the command failsCommandValidationException
- if there's something wrong
with the options or argumentsprotected 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 argumentsCopyright © 2018. All rights reserved.