Class 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 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​(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 Detail

      • getId

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

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