public class MetricTypeManager<T extends MetricType> extends Object
| Constructor and Description |
|---|
MetricTypeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetricTypes(Map<Name,TypeSet<T>> metricTypeSetMap,
Collection<Name> setsToUse)
Adds the given types to the manager.
|
Collection<TypeSet<T>> |
getAllMetricTypes() |
TypeSet<T> |
getMetricSet(Name metricSetName)
Returns the named metric set.
|
public void addMetricTypes(Map<Name,TypeSet<T>> metricTypeSetMap, Collection<Name> setsToUse)
metricTypeSetMap - a full set of typessetsToUse - optional set of type names that the manager cares about - it will ignore others it finds.
If null, then the full set is used (by "full set" it means the metricTypeSetMap param).public TypeSet<T> getMetricSet(Name metricSetName)
metricSetName - the name of the metric set to be returnedpublic Collection<TypeSet<T>> getAllMetricTypes()
Copyright © 2015 Red Hat, Inc.. All rights reserved.