Class SuccessPercentageStatisticsBeanImpl
java.lang.Object
com.atlassian.bamboo.build.statistics.SuccessPercentageStatisticsBeanImpl
- All Implemented Interfaces:
SuccessPercentageStatisticsBean
public class SuccessPercentageStatisticsBeanImpl
extends Object
implements SuccessPercentageStatisticsBean
-
Constructor Summary
ConstructorDescriptionSuccessPercentageStatisticsBeanImpl
(int totalNumberOfResults, int totalFailures) -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
int
int
-
Constructor Details
-
SuccessPercentageStatisticsBeanImpl
public SuccessPercentageStatisticsBeanImpl(int totalNumberOfResults, int totalFailures)
-
-
Method Details
-
getSuccessPercentage
public double getSuccessPercentage()- Specified by:
getSuccessPercentage
in interfaceSuccessPercentageStatisticsBean
- Returns:
- percentage of success
-
getTotalNumberOfResults
public int getTotalNumberOfResults()- Specified by:
getTotalNumberOfResults
in interfaceSuccessPercentageStatisticsBean
- Returns:
- total number of results in list.
-
getTotalFailures
public int getTotalFailures()- Specified by:
getTotalFailures
in interfaceSuccessPercentageStatisticsBean
- Returns:
- number of failures.
-
getTotalSuccesses
public int getTotalSuccesses()- Specified by:
getTotalSuccesses
in interfaceSuccessPercentageStatisticsBean
- Returns:
- Number of successes.
-