com.sonyericsson.jenkins.plugins.bfa.statistics
Class StatisticsLogger

java.lang.Object
  extended by 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
static StatisticsLogger getInstance()
          The singleton instance.
 void log(hudson.model.AbstractBuild build, List<FoundFailureCause> causes)
          Logs a found indication asynchronously to the statistics database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StatisticsLogger getInstance()
The singleton instance.

Returns:
the instance.

log

public void log(hudson.model.AbstractBuild build,
                List<FoundFailureCause> causes)
Logs a found indication asynchronously to the statistics database.

Parameters:
build - the build.
causes - the list of causes.


Copyright © 2004-2014. All Rights Reserved.