Class FailureCauseStatistics

java.lang.Object
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 Details

    • 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(org.mongojack.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 Details

    • getId

      public String getId()
      Getter for the id.
      Returns:
      the id.
    • getIndications

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