@Service(name="start-database") @PerLookup public final class StartDatabaseCommand extends DatabaseCommand
DB_HOST_DEFAULT, DB_PASSWORDFILE, DB_TYPE_DEFAULT, DB_USER, dbHost, dbLocation, dbManager, dbPort, dbType, sClasspath, sDatabaseClasspath, sInstallRoot, sJavaHomeargv, ASADMIN, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, lineReader, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, terminal, WARNING| Constructor and Description |
|---|
StartDatabaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
executeCommand()
Execute the command
|
String[] |
startDatabaseCmd()
Defines the command to start the database
|
String[] |
sysinfoCmd()
Defines the command to print out the database sysinfo
|
getJavaExe, pingDatabaseCmd, prepareProcessExecutorbuildLineReader, buildTerminal, checkHelp, closeTerminal, execute, 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[] startDatabaseCmd()
public String[] sysinfoCmd() throws Exception
Exceptionprotected int executeCommand()
throws CommandException,
CommandValidationException
executeCommand in class CLICommandCommandExceptionCommandValidationException - if there's something wrong
with the options or argumentsCopyright © 2019. All rights reserved.