CLASS - The type of the classes represented by the CMResultspublic class CMAggregator<CLASS> extends Object implements ResultAggregator<CMResult<CLASS>,AggregatedCMResult<CLASS>>
ResultAggregator for collecting multiple CMResults
and producing a single unified report.| Constructor and Description |
|---|
CMAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CMResult<CLASS> result)
Add a new result to this aggregation
|
AggregatedCMResult<CLASS> |
getAggregatedResult()
Get the aggregated result
|
public CMAggregator()
public void add(CMResult<CLASS> result)
ResultAggregatoradd in interface ResultAggregator<CMResult<CLASS>,AggregatedCMResult<CLASS>>result - the result to addpublic AggregatedCMResult<CLASS> getAggregatedResult()
ResultAggregatorgetAggregatedResult in interface ResultAggregator<CMResult<CLASS>,AggregatedCMResult<CLASS>>