public class Upgrade extends AbstractInstall
STORAGE_CONFIG_OPTION, STORAGE_CONFIG_PROPAGENT_BASEDIR_NAME, AGENT_OPTION, log, RHQ_AGENT_BASEDIR_PROP, RHQ_STORAGE_BASEDIR_PROP, SERVER_OPTION, STORAGE_BASEDIR_NAME, STORAGE_OPTION| Constructor and Description |
|---|
Upgrade() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyOracleDriver(File oldServerDir) |
protected void |
exec(org.apache.commons.cli.CommandLine commandLine) |
String |
getDescription() |
static File |
getFromAgentDir(org.apache.commons.cli.CommandLine commandLine) |
static File |
getFromServerDir(org.apache.commons.cli.CommandLine commandLine) |
String |
getName() |
org.apache.commons.cli.Options |
getOptions() |
protected boolean |
isRhq48OrLater(org.apache.commons.cli.CommandLine commandLine) |
installStorageNode, installWindowsService, isRHQServerInitialized, isUnixPidRunning, runRHQServerInstaller, startAgent, startAgent, startRHQServerForInstallation, stopAgent, stopServer, validateCustomStorageDataDirectories, waitForProcessToStop, waitForRHQServerToInitializeexec, getAgentBasedir, getAgentPid, getBaseDir, getBinDir, getCommandLine, getCommandLine, getLogDir, getProperty, getRhqCtlProperties, getScript, getServerPid, getStorageBasedir, getStoragePid, hasProperty, isAgentInstalled, isPortInUse, isServerInstalled, isServerInstalled, isStorageInstalled, isWindows, printUsage, putProperty, toIntListpublic String getName()
getName in class ControlCommandpublic String getDescription()
getDescription in class ControlCommandpublic org.apache.commons.cli.Options getOptions()
getOptions in class ControlCommandprotected void exec(org.apache.commons.cli.CommandLine commandLine)
exec in class ControlCommandpublic void copyOracleDriver(File oldServerDir) throws IOException
IOExceptionpublic static File getFromAgentDir(org.apache.commons.cli.CommandLine commandLine)
public static File getFromServerDir(org.apache.commons.cli.CommandLine commandLine)
protected boolean isRhq48OrLater(org.apache.commons.cli.CommandLine commandLine)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.