public class Upgrade extends AbstractInstall
ControlCommand.UndoTaskAGENT_CONFIG_OPTION, AGENT_PREFERENCE, START_OPTIONAGENT_BASEDIR_NAME, AGENT_OPTION, HELP_OPTION_1, HELP_OPTION_2, log, RHQ_AGENT_BASEDIR_PROP, SERVER_OPTION, STORAGE_BASEDIR_NAME, STORAGE_OPTION| Constructor and Description |
|---|
Upgrade() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyOracleDriver(File oldServerDir) |
protected int |
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 String |
getReadmeFilename()
Subclasses can override this and return a non-null name of its readme file.
|
protected boolean |
isRhq410OrLater(org.apache.commons.cli.CommandLine commandLine) |
protected boolean |
isRhq48OrLater(org.apache.commons.cli.CommandLine commandLine) |
addUndoTaskToStopComponent, installAgent, installStorageNode, installWindowsService, isRHQServerInitialized, killAgent, runRHQServerInstaller, startAgent, startRHQServerForInstallation, stopServer, updateWindowsAgentService, validateCustomStorageDataDirectories, waitForProcessToStop, waitForRHQServerToInitializeaddUndoTask, createNullOutputStream, exec, getAgentBasedir, getAgentPid, getBaseDir, getBinDir, getCommandLine, getCommandLine, getLogDir, getReadmeContent, getRhqCtlProperties, getRhqCtlPropertiesPath, getScript, getServerInstalledMarkerFile, getServerPid, getServerPropertiesFile, getStorageBasedir, getStoragePid, getStoragePidFile, isAgentInstalled, isPortInUse, isServerInstalled, isServerInstalled, isStorageInstalled, isStorageRunning, isUnixPidRunning, isWindows, killPid, printUsage, setAgentBasedir, toIntList, undopublic String getName()
getName in class ControlCommandpublic String getDescription()
getDescription in class ControlCommandpublic org.apache.commons.cli.Options getOptions()
getOptions in class ControlCommandprotected String getReadmeFilename()
ControlCommandgetReadmeFilename in class ControlCommandprotected int 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)
protected boolean isRhq410OrLater(org.apache.commons.cli.CommandLine commandLine)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.