@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, sJavaHome
argv, 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, prepareProcessExecutor
buildLineReader, 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, validate
public String[] startDatabaseCmd()
public String[] sysinfoCmd() throws Exception
Exception
protected int executeCommand() throws CommandException, CommandValidationException
executeCommand
in class CLICommand
CommandException
CommandValidationException
- if there's something wrong
with the options or argumentsCopyright © 2019. All rights reserved.