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

java.lang.Object
  extended by com.sonyericsson.jenkins.plugins.bfa.statistics.FailureCauseStatistics

public class FailureCauseStatistics
extends Object

The FailureCause statistics object. Contains the id of a FailureCause and its found indications.

Author:
Tomas Westling <tomas.westling@sonymobile.com>

Constructor Summary
FailureCauseStatistics(net.vz.mongodb.jackson.DBRef<FailureCause,?> failureCause, List<FoundIndication> indications)
          JSON constructor.
FailureCauseStatistics(String id, List<FoundIndication> indications)
          Standard constructor.
 
Method Summary
 String getId()
          Getter for the id.
 List<FoundIndication> getIndications()
          Getter for the FoundIndications.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureCauseStatistics

public FailureCauseStatistics(String id,
                              List<FoundIndication> indications)
Standard constructor.

Parameters:
id - the id of the FailureCause.
indications - the list of indications.

FailureCauseStatistics

public FailureCauseStatistics(net.vz.mongodb.jackson.DBRef<FailureCause,?> failureCause,
                              List<FoundIndication> indications)
                       throws Exception
JSON constructor.

Parameters:
failureCause - database reference to the FailureCause.
indications - the list of indications.
Throws:
Exception - if the database reference is invalid
Method Detail

getId

public String getId()
Getter for the id.

Returns:
the id.

getIndications

public List<FoundIndication> getIndications()
Getter for the FoundIndications.

Returns:
the FoundIndications.


Copyright © 2004-2014. All Rights Reserved.