Class DecoratedUserBuildStatistics
- java.lang.Object
-
- com.atlassian.bamboo.ww2.beans.author.DecoratedUserBuildStatistics
-
- All Implemented Interfaces:
NameProvider
,DecoratedPersonaBuildStatistics
public class DecoratedUserBuildStatistics extends Object implements DecoratedPersonaBuildStatistics
-
-
Constructor Summary
Constructors Constructor Description DecoratedUserBuildStatistics(@NotNull com.atlassian.user.User user, @NotNull ExtendedAuthorManager extendedAuthorManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Function<com.atlassian.user.User,DecoratedUserBuildStatistics>
createFromUser(@NotNull ExtendedAuthorManager extendedAuthorManager)
String
getName()
String
getNameDisplayUrl()
long
getNumberOfBrokenBuilds()
long
getNumberOfFailedBuilds()
long
getNumberOfFixedBuilds()
long
getNumberOfTriggeredBuilds()
double
getPercentageOfFailedBuilds()
long
getScore()
-
-
-
Constructor Detail
-
DecoratedUserBuildStatistics
public DecoratedUserBuildStatistics(@NotNull @NotNull com.atlassian.user.User user, @NotNull @NotNull ExtendedAuthorManager extendedAuthorManager)
-
-
Method Detail
-
createFromUser
public static com.google.common.base.Function<com.atlassian.user.User,DecoratedUserBuildStatistics> createFromUser(@NotNull @NotNull ExtendedAuthorManager extendedAuthorManager)
-
getName
public String getName()
- Specified by:
getName
in interfaceDecoratedPersonaBuildStatistics
- Specified by:
getName
in interfaceNameProvider
-
getNameDisplayUrl
public String getNameDisplayUrl()
- Specified by:
getNameDisplayUrl
in interfaceDecoratedPersonaBuildStatistics
-
getNumberOfTriggeredBuilds
public long getNumberOfTriggeredBuilds()
- Specified by:
getNumberOfTriggeredBuilds
in interfaceDecoratedPersonaBuildStatistics
-
getNumberOfFailedBuilds
public long getNumberOfFailedBuilds()
- Specified by:
getNumberOfFailedBuilds
in interfaceDecoratedPersonaBuildStatistics
-
getPercentageOfFailedBuilds
public double getPercentageOfFailedBuilds()
- Specified by:
getPercentageOfFailedBuilds
in interfaceDecoratedPersonaBuildStatistics
-
getNumberOfBrokenBuilds
public long getNumberOfBrokenBuilds()
- Specified by:
getNumberOfBrokenBuilds
in interfaceDecoratedPersonaBuildStatistics
-
getNumberOfFixedBuilds
public long getNumberOfFixedBuilds()
- Specified by:
getNumberOfFixedBuilds
in interfaceDecoratedPersonaBuildStatistics
-
getScore
public long getScore()
- Specified by:
getScore
in interfaceDecoratedPersonaBuildStatistics
-
-