public class LinuxWindowManagerUsageCollector extends ApplicationUsagesCollector
| Constructor and Description |
|---|
LinuxWindowManagerUsageCollector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroupId() |
java.util.Set<MetricEvent> |
getMetrics()
Implement this method to calculate metrics.
|
int |
getVersion()
Increment collector version if any changes in collector logic were implemented.
|
static java.lang.String |
toReportedName(java.lang.String windowManger) |
getData, getExtensions, getUsagesgetExtensions, isValidpublic java.util.Set<MetricEvent> getMetrics()
ApplicationUsagesCollectorMetricEvent#eventId should indicate what we measure, e.g. "configured.vcs", "module.jdk".MetricEvent#data should contain the value of the measurement, e.g. {"name":"Git"}, {"version":"1.8", "vendor":"OpenJdk"}getMetrics in class ApplicationUsagesCollectorpublic static java.lang.String toReportedName(java.lang.String windowManger)
public java.lang.String getGroupId()
getGroupId in class FeatureUsagesCollectorpublic int getVersion()
FeatureUsagesCollectorgetVersion in class FeatureUsagesCollector