@Service(name="stop-database") @PerLookup public final class StopDatabaseCommand extends DatabaseCommand
DB_HOST_DEFAULT, DB_PASSWORDFILE, DB_PORT_DEFAULT, DB_TYPE_DEFAULT, DB_USER, dbHost, dbLocation, dbManager, dbPort, dbType, sClasspath, sDatabaseClasspath, sInstallRoot, sJavaHomeargv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING| Constructor and Description |
|---|
StopDatabaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Executes the command
|
String[] |
stopDatabaseCmd()
Defines the command to stop the database.
|
getJavaExe, pingDatabaseCmd, prepareProcessExecutorcheckHelp, 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, validatepublic String[] stopDatabaseCmd() throws Exception
Exceptionprotected int executeCommand()
throws CommandException,
CommandValidationException
executeCommand in class CLICommandCommandExceptionCommandValidationException - if there's something wrong
with the options or argumentsCopyright © 2017. All rights reserved.