|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.measurement.ui.MeasurementSummary org.rhq.core.domain.measurement.ui.BaseMetricDisplay
public abstract class BaseMetricDisplay
Represents a metric that may be displayed in a list context. All fields refer to display needs in a list context in the monitoring UI.
Field Summary | |
---|---|
protected static List<String> |
attrKeyList
|
Constructor Summary | |
---|---|
BaseMetricDisplay()
Constructor for MetricDisplaySummary. |
Method Summary | |
---|---|
int |
compareTo(Object arg0)
|
MetricDisplayValue |
getAvgMetric()
|
Long |
getBeginTimeFrame()
Method getBeginTimeFrame. |
Integer |
getCollectionType()
Get the collection type for the metrics. |
Integer |
getDefinitionId()
|
String |
getDescription()
|
Long |
getEndTimeFrame()
Method getEndTimeFrame. |
String |
getLabel()
The label of the metric as it is displayed, perhaps the "alias". |
MetricDisplayValue |
getLastMetric()
|
MetricDisplayValue |
getMaxMetric()
|
MetricDisplayValue |
getMetric(String key)
|
String[] |
getMetricKeys()
|
String |
getMetricName()
This is the metric name, or as it is known in the plugin descriptor, the metric "property". |
Map<String,MetricDisplayValue> |
getMetrics()
|
String |
getMetricSource()
|
int |
getMetricSourceId()
|
double[] |
getMetricValueDoubles()
|
MetricDisplayValue |
getMinMetric()
|
int |
getNumberCollecting()
|
Integer |
getScheduleId()
|
Boolean |
getShowNumberCollecting()
Returns the showNumberCollecting. |
MetricDisplayValue |
getSummaryMetric()
|
String |
getUnits()
Method getIntervalUnits. |
void |
setBeginTimeFrame(Long beginTimeFrame)
Method setBeginTimeFrame. |
void |
setCollectionType(Integer collectionType)
|
void |
setDefinitionId(Integer definitionId)
|
void |
setDescription(String description)
|
void |
setEndTimeFrame(Long endTimeFrame)
Method setEndTimeFrame. |
void |
setLabel(String label)
Method setLabel. |
void |
setMetric(String key,
MetricDisplayValue value)
|
void |
setMetricName(String name)
|
void |
setMetrics(Map<String,MetricDisplayValue> metrics)
|
void |
setMetricSource(String string)
|
void |
setMetricSourceId(int id)
|
void |
setNumberCollecting(int numberCollecting)
|
void |
setScheduleId(Integer scheduleId)
Sets the scheduleId. |
void |
setShowNumberCollecting(Boolean showNumberCollecting)
Sets the showNumberCollecting. |
void |
setUnits(String units)
Method setIntervalUnits. |
String |
toString()
|
Methods inherited from class org.rhq.core.domain.measurement.ui.MeasurementSummary |
---|
asList, getAvailDown, getAvailUnknown, getAvailUp, setAvailDown, setAvailUnknown, setAvailUp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final List<String> attrKeyList
Constructor Detail |
---|
public BaseMetricDisplay()
Method Detail |
---|
public double[] getMetricValueDoubles()
public String[] getMetricKeys()
public void setMetric(String key, MetricDisplayValue value)
public MetricDisplayValue getMetric(String key)
public Map<String,MetricDisplayValue> getMetrics()
public void setMetrics(Map<String,MetricDisplayValue> metrics)
public MetricDisplayValue getMinMetric()
public MetricDisplayValue getMaxMetric()
public MetricDisplayValue getAvgMetric()
public MetricDisplayValue getLastMetric()
public MetricDisplayValue getSummaryMetric()
public Long getBeginTimeFrame()
public void setBeginTimeFrame(Long beginTimeFrame)
beginTimeFrame
- The beginTimeFrame to setpublic Long getEndTimeFrame()
public void setEndTimeFrame(Long endTimeFrame)
endTimeFrame
- The endTimeFrame to setpublic String getLabel()
getMetricName()
.
public void setLabel(String label)
label
- The label to setpublic String getUnits()
public void setUnits(String units)
units
- The units to setpublic Integer getCollectionType()
public void setCollectionType(Integer collectionType)
public Integer getScheduleId()
public void setScheduleId(Integer scheduleId)
scheduleId
- The scheduleId to setpublic Integer getDefinitionId()
public void setDefinitionId(Integer definitionId)
public Boolean getShowNumberCollecting()
public String getMetricSource()
public void setMetricSource(String string)
public String getMetricName()
public void setMetricName(String name)
public int getMetricSourceId()
public void setMetricSourceId(int id)
public void setShowNumberCollecting(Boolean showNumberCollecting)
showNumberCollecting
- The showNumberCollecting to setpublic String getDescription()
public void setDescription(String description)
public String toString()
toString
in class MeasurementSummary
public int compareTo(Object arg0)
compareTo
in interface Comparable
public int getNumberCollecting()
public void setNumberCollecting(int numberCollecting)
numberCollecting
- the numberCollecting to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |