Package com.atlassian.bamboo.author
Interface Author
- All Superinterfaces:
AuthorContext
,AuthorData
,Comparable<AuthorContext>
,NameProvider
,Serializable
- All Known Subinterfaces:
ExtendedAuthor
- All Known Implementing Classes:
AuthorImpl
,ChangeAuthor
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets all builds triggered by the authorGet the build results broken by the author.Gets all the builds triggered by the author that failed.getFixes()
Get the build results fixed by the author A build is deemed fixed by the author if the build they triggered was successful and the previous one failed.@NotNull String
Get a full name for display purposesint
Get the number of builds broken by the author A build is deemed broken by the author if the build they triggered failed and the previous one was successful.int
Gets number of the builds triggered by the author that failed.int
Get the number of builds fixed by the author A build is deemed fixed by the author if the build they triggered was successful and the previous one failed.int
Gets number of the builds triggered by the author that were successful.int
Gets number of builds triggered by the authorGets all the builds triggered by the author that was successful.Gets all builds triggered by the author Depending on implementation number of results may be limited to arbitrary valueMethods inherited from interface com.atlassian.bamboo.author.AuthorContext
getEmail, getLinkedUserName, getName
Methods inherited from interface com.atlassian.bamboo.author.AuthorData
setEmail, setLinkedUserName
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
UNKNOWN_AUTHOR
- See Also:
-
-
Method Details
-
getFullName
Get a full name for display purposes- Returns:
- full name
-
getBreakages
List<ResultsSummary> getBreakages()Get the build results broken by the author. A build is deemed broken by the author if the build they triggered failed and the previous one was successful. Depending on implementation number of results may be limited to arbitrary value- Returns:
- a
List
ofResultsSummary
-
getNumberOfBreakages
int getNumberOfBreakages()Get the number of builds broken by the author A build is deemed broken by the author if the build they triggered failed and the previous one was successful.- Returns:
- int
-
getFixes
List<ResultsSummary> getFixes()Get the build results fixed by the author A build is deemed fixed by the author if the build they triggered was successful and the previous one failed. Depending on implementation number of results may be limited to arbitrary value- Returns:
- a
List
ofResultsSummary
-
getNumberOfFixes
int getNumberOfFixes()Get the number of builds fixed by the author A build is deemed fixed by the author if the build they triggered was successful and the previous one failed.- Returns:
- int
-
getFailedBuilds
List<ResultsSummary> getFailedBuilds()Gets all the builds triggered by the author that failed. Depending on implementation number of results may be limited to arbitrary value- Returns:
- a
List
ofResultsSummary
-
getNumberOfFailedBuilds
int getNumberOfFailedBuilds()Gets number of the builds triggered by the author that failed.- Returns:
- int
-
getSuccessfulBuilds
List<ResultsSummary> getSuccessfulBuilds()Gets all the builds triggered by the author that was successful. Depending on implementation number of results may be limited to arbitrary value- Returns:
- a
List
ofResultsSummary
-
getNumberOfSuccessfulBuilds
int getNumberOfSuccessfulBuilds()Gets number of the builds triggered by the author that were successful.- Returns:
- int
-
getTriggeredBuildResults
List<ResultsSummary> getTriggeredBuildResults()Gets all builds triggered by the author Depending on implementation number of results may be limited to arbitrary value- Returns:
- a
List
ofResultsSummary
-
getAllTriggeredBuildResults
List<ResultsSummary> getAllTriggeredBuildResults()Gets all builds triggered by the author- Returns:
- a
List
ofResultsSummary
-
getNumberOfTriggeredBuilds
int getNumberOfTriggeredBuilds()Gets number of builds triggered by the author- Returns:
- int
-