org.hyperic.hq.product
Class ScriptControlPlugin
java.lang.Object
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.ControlPlugin
org.hyperic.hq.product.ServerControlPlugin
org.hyperic.hq.product.ScriptControlPlugin
public class ScriptControlPlugin
- extends ServerControlPlugin
Fields inherited from class org.hyperic.hq.product.ControlPlugin |
DEFAULT_TIMEOUT, manager, PROP_TIMEOUT, RESULT_FAILURE, RESULT_SUCCESS, STATE_RESTARTING, STATE_STARTED, STATE_STARTING, STATE_STOPPED, STATE_STOPPING, STATE_UNKNOWN |
Methods inherited from class org.hyperic.hq.product.ServerControlPlugin |
configure, doCommand, doCommand, doCommand, doCommand, doCommand, getBackgroundWaitTime, getCommandArgs, getCommandEnv, getConfigSchema, getControlProgram, getControlProgramDir, getControlProgramPrefix, getExitCode, getInstallPrefix, getPidFile, getServerConfigSchema, getWorkingDirectory, handleResult, isProcessRunning, isProcessRunning, isRunning, setBackgroundWaitTime, setControlProgram, setControlProgramPrefix, setInstallPrefix, setPidFile, shutdown, start, useConfigSchema, useSigar, validateControlProgram |
Methods inherited from class org.hyperic.hq.product.ControlPlugin |
detectState, doAction, doAction, doAction, getActions, getManager, getMessage, getResult, getTimeout, getTimeoutMillis, init, setExceptionMessage, setManager, setMessage, setResult, setTimeout, setTimeout, waitForState |
Methods inherited from class org.hyperic.hq.product.GenericPlugin |
adjustClassPath, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getPluginVersion, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setPluginVersion, setTypeInfo, toFileList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptControlPlugin
public ScriptControlPlugin()
doAction
public void doAction(String action,
String[] args)
throws PluginException
- For use by pure-XML plugins to implement script-based
control actions.
- Overrides:
doAction
in class ControlPlugin
- Throws:
PluginException
isBackgroundCommand
protected boolean isBackgroundCommand()
- Overrides:
isBackgroundCommand
in class ServerControlPlugin
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.