net.hyperic.hq.product
Class ServiceResource
java.lang.Object
net.hyperic.hq.product.ServiceResource
- public class ServiceResource
- extends java.lang.Object
Field Summary |
static java.lang.String |
SERVER_NAME_PREFIX
Special token when used in the service name will be replaced
with the service's parent server name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERVER_NAME_PREFIX
public static final java.lang.String SERVER_NAME_PREFIX
- Special token when used in the service name will be replaced
with the service's parent server name.
- See Also:
- Constant Field Values
ServiceResource
public ServiceResource()
setServiceName
public void setServiceName(java.lang.String name)
- Set the name of the service, prepending the parent server name
using SERVER_NAME_PREFIX.
- Parameters:
name
- Service name, must be unique to the parent server.
setType
public void setType(GenericPlugin plugin,
java.lang.String type)
setType
public void setType(java.lang.String name)
getType
public java.lang.String getType()
setName
public void setName(java.lang.String name)
- In most cases, setServiceName should be used to include
the parent server name for uniqueness.
getName
public java.lang.String getName()
setDescription
public void setDescription(java.lang.String description)
getDescription
public java.lang.String getDescription()
setProductConfig
public void setProductConfig(ConfigResponse config)
setMeasurementConfig
public void setMeasurementConfig(ConfigResponse config)
setControlConfig
public void setControlConfig(ConfigResponse config)
setResponseTimeConfig
public void setResponseTimeConfig(ConfigResponse config)
setProductConfig
public void setProductConfig()
setMeasurementConfig
public void setMeasurementConfig()
setControlConfig
public void setControlConfig()
setCustomProperties
public void setCustomProperties(ConfigResponse config)
toString
public java.lang.String toString()
Copyright © 2004-2005 Hyperic LLC support@hyperic.net, All Rights Reserved.