Class FailureCauseStatistics
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.statistics.FailureCauseStatistics
The FailureCause statistics object.
Contains the id of a FailureCause and its found indications.
- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
-
Constructor Summary
ConstructorDescriptionFailureCauseStatistics
(String id, List<FoundIndication> indications) Standard constructor.FailureCauseStatistics
(org.mongojack.DBRef<FailureCause, ?> failureCause, List<FoundIndication> indications) JSON constructor. -
Method Summary
-
Constructor Details
-
FailureCauseStatistics
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 ExceptionJSON constructor.- Parameters:
failureCause
- database reference to the FailureCause.indications
- the list of indications.- Throws:
Exception
- if the database reference is invalid
-
-
Method Details
-
getId
Getter for the id.- Returns:
- the id.
-
getIndications
Getter for the FoundIndications.- Returns:
- the FoundIndications.
-