com.atlassian.bamboo.build.statistics
Class SuccessPercentageStatisticsBeanImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.statistics.SuccessPercentageStatisticsBeanImpl
All Implemented Interfaces:
SuccessPercentageStatisticsBean

public class SuccessPercentageStatisticsBeanImpl
extends java.lang.Object
implements SuccessPercentageStatisticsBean


Constructor Summary
SuccessPercentageStatisticsBeanImpl(int totalNumberOfResults, int totalFailures)
           
 
Method Summary
 double getSuccessPercentage()
           
 int getTotalFailures()
           
 int getTotalNumberOfResults()
           
 int getTotalSuccesses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuccessPercentageStatisticsBeanImpl

public SuccessPercentageStatisticsBeanImpl(int totalNumberOfResults,
                                           int totalFailures)
Method Detail

getSuccessPercentage

public double getSuccessPercentage()
Specified by:
getSuccessPercentage in interface SuccessPercentageStatisticsBean
Returns:
percentage of success

getTotalNumberOfResults

public int getTotalNumberOfResults()
Specified by:
getTotalNumberOfResults in interface SuccessPercentageStatisticsBean
Returns:
total number of results in list.

getTotalFailures

public int getTotalFailures()
Specified by:
getTotalFailures in interface SuccessPercentageStatisticsBean
Returns:
number of failures.

getTotalSuccesses

public int getTotalSuccesses()
Specified by:
getTotalSuccesses in interface SuccessPercentageStatisticsBean
Returns:
Number of successes.


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.