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 Summary
Constructors Constructor Description FailureCauseStatistics(String id, List<FoundIndication> indications)
Standard constructor.FailureCauseStatistics(org.mongojack.DBRef<FailureCause,?> failureCause, List<FoundIndication> indications)
JSON constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Getter for the id.List<FoundIndication>
getIndications()
Getter for the FoundIndications.
-
-
-
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.
-
-