@Service(name="create-domain") @PerLookup public final class CreateDomainCommand extends CLICommand
argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING| Constructor and Description |
|---|
CreateDomainCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Execute the command using the options in options and the
operands in operands.
|
protected Collection<CommandModel.ParamModel> |
usageOptions()
Add --adminport and --instanceport options with proper default values.
|
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.
|
void |
verifyPortBase() |
checkHelp, 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, toStringprotected Collection<CommandModel.ParamModel> usageOptions()
usageOptions in class CLICommandprotected void validate()
throws CommandException,
CommandValidationException
CLICommandvalidate in class CLICommandCommandException - if execution of the command failsCommandValidationException - if there's something wrong
with the options or argumentspublic void verifyPortBase()
throws CommandValidationException
CommandValidationExceptionprotected int executeCommand()
throws CommandException,
CommandValidationException
CLICommandexecuteCommand in class CLICommandCommandException - if execution of the command failsCommandValidationException - if there's something wrong
with the options or argumentsCopyright © 2017. All rights reserved.