org.rhq.core.domain.sync.entity
Class MetricTemplate
java.lang.Object
org.rhq.core.domain.sync.entity.AbstractExportedEntity
org.rhq.core.domain.sync.entity.MetricTemplate
- All Implemented Interfaces:
- Serializable
public class MetricTemplate
- extends AbstractExportedEntity
This is a exportable/importable representation of a metric template.
- See Also:
- Serialized Form
MetricTemplate
public MetricTemplate()
MetricTemplate
public MetricTemplate(MeasurementDefinition definition)
getResourceTypeName
public String getResourceTypeName()
setResourceTypeName
public void setResourceTypeName(String resourceTypeName)
getResourceTypePlugin
public String getResourceTypePlugin()
setResourceTypePlugin
public void setResourceTypePlugin(String resourceTypePlugin)
getMetricName
public String getMetricName()
setMetricName
public void setMetricName(String metricName)
getDefaultInterval
public long getDefaultInterval()
setDefaultInterval
public void setDefaultInterval(long defaultInterval)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isPerMinute
public boolean isPerMinute()
- Returns:
- the perMinute
setPerMinute
public void setPerMinute(boolean perMinute)
- Parameters:
perMinute
- the perMinute to set
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractExportedEntity
equals
public boolean equals(Object other)
- Overrides:
equals
in class AbstractExportedEntity
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.