Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.product
Class ServiceResource

java.lang.Object
  extended by org.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.
 
Constructor Summary
ServiceResource()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 void setControlConfig()
           
 void setControlConfig(ConfigResponse config)
           
 void setControlConfig(java.util.Map config)
           
 void setCustomProperties(ConfigResponse config)
           
 void setCustomProperties(java.util.Map props)
           
 void setDescription(java.lang.String description)
           
 void setMeasurementConfig()
           
 void setMeasurementConfig(ConfigResponse config)
           
 void setMeasurementConfig(ConfigResponse config, int logTrackLevel, boolean enableConfigTrack)
           
 void setMeasurementConfig(java.util.Map config)
           
 void setName(java.lang.String name)
          In most cases, setServiceName should be used to include the parent server name for uniqueness.
 void setProductConfig()
           
 void setProductConfig(ConfigResponse config)
           
 void setProductConfig(java.util.Map config)
           
 void setResponseTimeConfig(ConfigResponse config)
           
 void setServiceName(java.lang.String name)
          Set the name of the service, prepending the parent server name using SERVER_NAME_PREFIX.
 void setType(GenericPlugin plugin, java.lang.String type)
           
 void setType(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ServiceResource

public ServiceResource()
Method Detail

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)

setMeasurementConfig

public void setMeasurementConfig(ConfigResponse config,
                                 int logTrackLevel,
                                 boolean enableConfigTrack)

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)

setProductConfig

public void setProductConfig(java.util.Map config)

setMeasurementConfig

public void setMeasurementConfig(java.util.Map config)

setControlConfig

public void setControlConfig(java.util.Map config)

setCustomProperties

public void setCustomProperties(java.util.Map props)

toString

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

Hyperic HQ Plugin API v. 4.4.0.2

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