Class StatisticsLogger
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.statistics.StatisticsLogger
-
public final class StatisticsLogger extends Object
Main singleton entrance for logging statistics.- Author:
- Robert Sandell <robert.sandell@sonyericsson.com>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatisticsLogger
getInstance()
The singleton instance.void
log(Run build, List<FoundFailureCause> causes)
Logs a found indication asynchronously to the statistics database.
-
-
-
Method Detail
-
getInstance
public static StatisticsLogger getInstance()
The singleton instance.- Returns:
- the instance.
-
log
public void log(Run build, List<FoundFailureCause> causes)
Logs a found indication asynchronously to the statistics database.- Parameters:
build
- the build.causes
- the list of causes.
-
-