br.com.oncast.dev.lobo.eval.bean
Class ProfileMetric
java.lang.Object
br.com.oncast.dev.lobo.eval.bean.ProfileMetric
public class ProfileMetric
- extends java.lang.Object
A leaf in the profile reporting bean tree.
It stores information about a single profiling metric.
|
Constructor Summary |
ProfileMetric(java.lang.String key)
Creates a new instance of ProfileMetric. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileMetric
public ProfileMetric(java.lang.String key)
- Creates a new instance of ProfileMetric.
- Parameters:
key - the name of the metric.
getKey
public java.lang.String getKey()
- Returns:
- the key.
getType
public MetricType getType()
- Returns:
- the type.
setType
public void setType(MetricType type)
- Parameters:
type - the type to set.
getValue
public double getValue()
- Returns:
- the value.
setValue
public void setValue(double value)
- Parameters:
value - the value to set.