org.hyperic.hq.product
Class ProductPlugin
java.lang.Object
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.ProductPlugin
public abstract class ProductPlugin
- extends GenericPlugin
Methods inherited from class org.hyperic.hq.product.GenericPlugin |
adjustClassPath, configure, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getManagerProperty, getName, getPlatformName, getPluginClassName, getPluginData, getPluginProperty, getProductPlugin, getProperties, getScriptExtension, getScriptExtension, getScriptExtension, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperties, getTypeProperty, getTypeProperty, getTypeProperty, isNetStatEnabled, isWin32, openResource, setData, setName, setTypeInfo, shutdown, toFileList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_AUTOINVENTORY
public static final java.lang.String TYPE_AUTOINVENTORY
- See Also:
- Constant Field Values
TYPE_CONTROL
public static final java.lang.String TYPE_CONTROL
- See Also:
- Constant Field Values
TYPE_MEASUREMENT
public static final java.lang.String TYPE_MEASUREMENT
- See Also:
- Constant Field Values
TYPE_PRODUCT
public static final java.lang.String TYPE_PRODUCT
- See Also:
- Constant Field Values
TYPE_RESPONSE_TIME
public static final java.lang.String TYPE_RESPONSE_TIME
- See Also:
- Constant Field Values
TYPE_LOG_TRACK
public static final java.lang.String TYPE_LOG_TRACK
- See Also:
- Constant Field Values
TYPE_CONFIG_TRACK
public static final java.lang.String TYPE_CONFIG_TRACK
- See Also:
- Constant Field Values
TYPE_LIVE_DATA
public static final java.lang.String TYPE_LIVE_DATA
- See Also:
- Constant Field Values
PROP_INSTALLPATH
public static final java.lang.String PROP_INSTALLPATH
- See Also:
- Constant Field Values
PROP_RESOURCE_NAME
public static final java.lang.String PROP_RESOURCE_NAME
- See Also:
- Constant Field Values
PROP_PLATFORM_NAME
public static final java.lang.String PROP_PLATFORM_NAME
- See Also:
- Constant Field Values
PROP_PLATFORM_TYPE
public static final java.lang.String PROP_PLATFORM_TYPE
- See Also:
- Constant Field Values
PROP_PLATFORM_FQDN
public static final java.lang.String PROP_PLATFORM_FQDN
- See Also:
- Constant Field Values
PROP_PLATFORM_IP
public static final java.lang.String PROP_PLATFORM_IP
- See Also:
- Constant Field Values
PROP_PLATFORM_ID
public static final java.lang.String PROP_PLATFORM_ID
- See Also:
- Constant Field Values
DEFAULT_INSTALLPATH
public static final java.lang.String DEFAULT_INSTALLPATH
- See Also:
- Constant Field Values
TYPES
public static final java.lang.String[] TYPES
CONFIGURABLE_TYPES
public static final java.lang.String[] CONFIGURABLE_TYPES
CFGTYPE_IDX_PRODUCT
public static final int CFGTYPE_IDX_PRODUCT
- See Also:
- Constant Field Values
CFGTYPE_IDX_MEASUREMENT
public static final int CFGTYPE_IDX_MEASUREMENT
- See Also:
- Constant Field Values
CFGTYPE_IDX_CONTROL
public static final int CFGTYPE_IDX_CONTROL
- See Also:
- Constant Field Values
CFGTYPE_IDX_RESPONSE_TIME
public static final int CFGTYPE_IDX_RESPONSE_TIME
- See Also:
- Constant Field Values
manager
protected ProductPluginManager manager
ProductPlugin
public ProductPlugin()
getInstallPath
public java.lang.String getInstallPath()
addScriptLanguage
protected void addScriptLanguage(ScriptLanguagePlugin plugin)
init
public void init(PluginManager manager)
throws PluginException
- Description copied from class:
GenericPlugin
- Called when the plugin is loaded on the server and on the agent side.
- Overrides:
init
in class GenericPlugin
- Parameters:
manager
- The plugin manager for this plugin type.
- Throws:
PluginException
getManager
protected ProductPluginManager getManager()
getClassPath
public java.lang.String[] getClassPath(ProductPluginManager manager)
getPlugin
public GenericPlugin getPlugin(java.lang.String type,
TypeInfo info)
getConfigSchema
public ConfigSchema getConfigSchema(TypeInfo info,
ConfigResponse config)
- Description copied from class:
GenericPlugin
- The ConfigSchema used to render config options for this resource
in the UI and client shell.
- Overrides:
getConfigSchema
in class GenericPlugin
- Parameters:
info
- The TypeInfo of this plugin from ProductPlugin.getTypesconfig
- ConfigReponse of the parent resource (if any).
- Returns:
- ConfigSchema for this resource.
getTypes
public TypeInfo[] getTypes()
getWorkDir
protected java.io.File getWorkDir(java.lang.String type)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.