Class SuccessPercentageStatisticsBeanImpl
- java.lang.Object
-
- com.atlassian.bamboo.build.statistics.SuccessPercentageStatisticsBeanImpl
-
- All Implemented Interfaces:
SuccessPercentageStatisticsBean
public class SuccessPercentageStatisticsBeanImpl extends Object implements SuccessPercentageStatisticsBean
-
-
Constructor Summary
Constructors Constructor Description SuccessPercentageStatisticsBeanImpl(int totalNumberOfResults, int totalFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getSuccessPercentage()
int
getTotalFailures()
int
getTotalNumberOfResults()
int
getTotalSuccesses()
-
-
-
Method Detail
-
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.
-
-