public class Status extends ControlCommand
ControlCommand.UndoTask
AGENT_BASEDIR_NAME, AGENT_OPTION, HELP_OPTION_1, HELP_OPTION_2, log, RHQ_AGENT_BASEDIR_PROP, RHQ_AGENT_PIDFILE_DIR_ENV_VARIABLE, RHQ_SERVER_PIDFILE_DIR_ENV_VARIABLE, SERVER_OPTION, STORAGE_BASEDIR_NAME, STORAGE_OPTION
Constructor and Description |
---|
Status() |
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, waitForProcessToStop
public String getName()
getName
in class ControlCommand
public String getDescription()
getDescription
in class ControlCommand
public org.apache.commons.cli.Options getOptions()
getOptions
in class ControlCommand
protected String getReadmeFilename()
ControlCommand
getReadmeFilename
in class ControlCommand
protected int exec(org.apache.commons.cli.CommandLine commandLine)
exec
in class ControlCommand
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.