public class Restart extends ControlCommand
ControlCommand.UndoTaskAGENT_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 |
|---|
Restart() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
exec(org.apache.commons.cli.CommandLine commandLine) |
String |
getDescription() |
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.
|
addUndoTask, 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, undo, waitForProcessToStoppublic 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 ControlCommandCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.