XML tag
ServiceType
public ServiceType(String serviceName,
String productName,
ServiceTypeInfo info)
- Parameters:
serviceName
- The unique service type name (unique with respect to server
type)productName
- The name of the product containing this serviceinfo
- The ServiceTypeInfo
describing this service type
addControlAction
public void addControlAction(String controlAction)
- Adds a control action to the collection of control actions
- Parameters:
controlAction
- The name of the control action to add
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAIServiceTypeValue
public org.hyperic.hq.appdef.shared.AIServiceTypeValue getAIServiceTypeValue()
- Returns:
- The
AIServiceTypeValue
representing this ServiceType
getControlActions
public Set getControlActions()
- Returns:
- The set of control action names for this
ServiceType
getCustomProperties
public org.hyperic.util.config.ConfigSchema getCustomProperties()
- Returns:
- The custom properties for this
ServiceType
getInfo
public ServiceTypeInfo getInfo()
- Returns:
- The
ServiceTypeInfo
describing this service type
getMeasurements
public MeasurementInfos getMeasurements()
- Returns:
- The measurements for this service type
getPluginClasses
public org.hyperic.util.config.ConfigResponse getPluginClasses()
- Returns:
- The plugins for this service type. Key of properties map is
plugin type (i.e. "control"), value is fully qualified class name
of plugin
getProductName
public String getProductName()
- Returns:
- The name of the product containing this service
getProperties
public org.hyperic.util.config.ConfigResponse getProperties()
- Returns:
- The properties of this service type (the ones used internally).
This is equivalent to the direct tag in the service
XML (as opposed to the tag which defines custom
properties).
getServiceName
public String getServiceName()
- Returns:
- The unique service type name (unique with respect to server type)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setControlActions
public void setControlActions(Set controlActions)
- Parameters:
controlActions
- The set of control action names for this ServiceType
setCustomProperties
public void setCustomProperties(org.hyperic.util.config.ConfigSchema customProperties)
- Parameters:
customProperties
- The custom properties for this ServiceType
setMeasurements
public void setMeasurements(MeasurementInfos measurements)
- Parameters:
measurements
- The measurements for this service type
setPluginClasses
public void setPluginClasses(org.hyperic.util.config.ConfigResponse pluginClasses)
- Parameters:
pluginClasses
- The plugins for this service type. Key of properties map is
plugin type (i.e. "control"), value is fully qualified class
name of plugin
setProperties
public void setProperties(org.hyperic.util.config.ConfigResponse properties)
- Parameters:
properties
- The properties of this service type (the ones used
internally). This is equivalent to the direct tag
in the service XML (as opposed to the tag which
defines custom properties).
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.