public abstract class AbstractResourceMetric extends AbstractMetric implements IResourceMetric
Modifier and Type | Field and Description |
---|---|
protected MoveTimeCmp |
moveCmp |
protected NoModelMovePred |
predSync |
protected java.lang.String |
resourceAttribute |
decInt, valueConvertor
Constructor and Description |
---|
AbstractResourceMetric(java.lang.String id,
java.lang.String name,
java.lang.String shortName) |
AbstractResourceMetric(java.lang.String resourceAttribute,
java.lang.String id,
java.lang.String name,
java.lang.String shortName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceAttribute() |
protected void |
setMetric(IMetricsDecorator<IEPTreeNode> decMetric,
IEPTreeNode target,
MetricValue value) |
void |
setResourceAttribute(java.lang.String resourceAttribute) |
getId, getLabelName, getLabelName, getMetric, getMetric, getMetricValue, getMetricValue, getMetricValueString, getMetricValueString, getName, getValueConvertor, getValueConvertor, moveEqualsNode, moveInNodes, setDecorators, setMetric, setMetric, setMetric, setMetric, setMetric, setMetric, setMetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeForEdge, computeForNode, getId, getLabelName, getLabelName, getMetric, getMetric, getMetricValue, getMetricValue, getMetricValueString, getMetricValueString, getName, getValueConvertor, getValueConvertor, setDecorators
protected java.lang.String resourceAttribute
protected MoveTimeCmp moveCmp
protected NoModelMovePred predSync
public AbstractResourceMetric(java.lang.String id, java.lang.String name, java.lang.String shortName)
public AbstractResourceMetric(java.lang.String resourceAttribute, java.lang.String id, java.lang.String name, java.lang.String shortName)
public void setResourceAttribute(java.lang.String resourceAttribute)
setResourceAttribute
in interface IResourceMetric
protected void setMetric(IMetricsDecorator<IEPTreeNode> decMetric, IEPTreeNode target, MetricValue value)
setMetric
in class AbstractMetric
public java.lang.String getResourceAttribute()
getResourceAttribute
in interface IResourceMetric