Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.product
Class ExecutableProcess

java.lang.Object
  extended by org.hyperic.hq.product.Collector
      extended by org.hyperic.hq.product.ExecutableProcess
All Implemented Interfaces:
java.lang.Runnable

public class ExecutableProcess
extends Collector


Field Summary
static java.lang.String DOMAIN
           
static java.lang.String PROP_ARGS
           
static java.lang.String PROP_EXEC
           
static java.lang.String PROP_FILE
           
 
Fields inherited from class org.hyperic.hq.product.Collector
ATTR_RESPONSE_CODE, ATTR_RESPONSE_TIME, DEFAULT_FTP_PORT, DEFAULT_HOSTNAME, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, METHOD_GET, METHOD_HEAD, PROP_FOLLOW, PROP_HOSTNAME, PROP_METHOD, PROP_PASSWORD, PROP_PATH, PROP_PORT, PROP_PROTOCOL, PROP_REALM, PROP_SSL, PROP_SSL_PROTOCOL, PROP_SSLPORT, PROP_TIMEOUT, PROP_USERNAME, PROTOCOL_FTP, PROTOCOL_HTTP, PROTOCOL_HTTPS, PROTOCOL_SOCKET
 
Constructor Summary
ExecutableProcess()
           
 
Method Summary
 void collect()
           
protected  java.lang.String getArgsProperty()
           
protected  double getAvailValue(int rc)
           
protected  int getDefaultTimeout()
           
protected  java.lang.String getExecProperty()
           
protected  java.lang.String getFileProperty()
           
protected  int getLogLevel(int rc)
           
protected  void init()
           
 boolean isPoolable()
           
 java.lang.String toString()
           
 
Methods inherited from class org.hyperic.hq.product.Collector
addValues, endTime, equals, getCollectorProperty, getCollectorProperty, getIntegerProperty, getLogLevel, getMessage, getPlugin, getProperties, getPropTimeout, getResult, getSource, getTimeout, getTimeoutMillis, getValue, getValue, getValues, hashCode, init, main, parseResults, run, setAvailability, setAvailability, setDebugMessage, setDebugMessage, setErrorMessage, setErrorMessage, setInfoMessage, setInfoMessage, setInterval, setLogLevel, setMessage, setMessage, setProperties, setResponseCode, setResponseTime, setSource, setValue, setValue, setWarningMessage, setWarningMessage, startTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DOMAIN

public static final java.lang.String DOMAIN
See Also:
Constant Field Values

PROP_EXEC

public static final java.lang.String PROP_EXEC
See Also:
Constant Field Values

PROP_FILE

public static final java.lang.String PROP_FILE
See Also:
Constant Field Values

PROP_ARGS

public static final java.lang.String PROP_ARGS
See Also:
Constant Field Values
Constructor Detail

ExecutableProcess

public ExecutableProcess()
Method Detail

getDefaultTimeout

protected int getDefaultTimeout()
Overrides:
getDefaultTimeout in class Collector

getLogLevel

protected int getLogLevel(int rc)

getAvailValue

protected double getAvailValue(int rc)

getExecProperty

protected java.lang.String getExecProperty()

getFileProperty

protected java.lang.String getFileProperty()

getArgsProperty

protected java.lang.String getArgsProperty()

init

protected void init()
Overrides:
init in class Collector

isPoolable

public boolean isPoolable()
Overrides:
isPoolable in class Collector

collect

public void collect()
Specified by:
collect in class Collector

toString

public java.lang.String toString()
Overrides:
toString in class Collector

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.