|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.ControlPlugin
org.hyperic.hq.product.ServerControlPlugin
org.hyperic.hq.product.ScriptControlPlugin
public class ScriptControlPlugin
Field Summary |
---|
Fields inherited from class org.hyperic.hq.product.ServerControlPlugin |
---|
PROP_PIDFILE, PROP_PROGRAM, PROP_PROGRAMPREFIX |
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 |
Fields inherited from class org.hyperic.hq.product.GenericPlugin |
---|
config, FILE_DELIM, FILE_DELIM_ESC, PROP_NAME |
Constructor Summary | |
---|---|
ScriptControlPlugin()
|
Method Summary | |
---|---|
void |
doAction(java.lang.String action,
java.lang.String[] args)
For use by pure-XML plugins to implement script-based control actions. |
protected boolean |
isBackgroundCommand()
|
Methods inherited from class org.hyperic.hq.product.ControlPlugin |
---|
detectState, doAction, getActions, getManager, getMessage, getResult, getTimeout, getTimeoutMillis, init, setManager, setMessage, setResult, setTimeout, setTimeout, waitForState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptControlPlugin()
Method Detail |
---|
public void doAction(java.lang.String action, java.lang.String[] args) throws PluginException
doAction
in class ControlPlugin
PluginException
protected boolean isBackgroundCommand()
isBackgroundCommand
in class ServerControlPlugin
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |