pankaj | 390abbc | 2014-10-01 17:01:05 -0700 | [diff] [blame^] | 1 | package org.onlab.metrics; |
2 | |||||
3 | /** | ||||
4 | * Features to tag metrics. | ||||
5 | */ | ||||
6 | public class MetricsFeature { | ||||
7 | private final String name; | ||||
8 | |||||
9 | /** | ||||
10 | * Constructs a Feature from a name. | ||||
11 | * | ||||
12 | * @param newName name of the Feature | ||||
13 | */ | ||||
14 | MetricsFeature(final String newName) { | ||||
15 | name = newName; | ||||
16 | } | ||||
17 | |||||
18 | public String getName() { | ||||
19 | return name; | ||||
20 | } | ||||
21 | } |