public class ClassMetricsMeasurement extends MetricsMeasurement
MetricsMeasurement
representing one class.className, fileName, metrics, packageName
Constructor and Description |
---|
ClassMetricsMeasurement() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
ClassMetricsMeasurement |
merge(MetricsMeasurement metricsMeasurement)
Merge another
MetricsMeasurement with this one. |
String |
toString() |
addMetric, getClassName, getFileName, getMetric, getMetrics, getPackageName, getQualifiedClassName, setClassName, setFileName, setPackageName
public ClassMetricsMeasurement merge(MetricsMeasurement metricsMeasurement)
MetricsMeasurement
with this one. Returns itself to be usable for chaining.merge
in class MetricsMeasurement
metricsMeasurement
- the MetricsMeasurement
to merge. If it is a ClassMetricsMeasurement
, their metrics are
merged together. In case of a MethodMetricsMeasurement
nothing happens.Copyright © 2016–2020. All rights reserved.