Class MetricsManager
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.MetricsManager
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final FailureCauseA magic cause to represent builds that match no causes in the database.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddMetric(IFailureCauseMetricData cause) Add metrics into the MetricRegistry from the Metrics plugin.static voidincCounters(List<? extends IFailureCauseMetricData> causes, boolean squashCauses) Increment counters for the metric and its categories.
- 
Field Details- 
UNKNOWNCAUSEA magic cause to represent builds that match no causes in the database.
 
- 
- 
Method Details- 
addMetricAdd metrics into the MetricRegistry from the Metrics plugin.- Parameters:
- cause- The Cause to add metrics for
 
- 
incCounterspublic static void incCounters(List<? extends IFailureCauseMetricData> causes, boolean squashCauses) Increment counters for the metric and its categories.- Parameters:
- causes- The cause to increment counters for
- squashCauses- Whether or not to squash cause metrics
 
 
-