com.atlassian.bamboo.author
Interface Author

All Superinterfaces:
AuthorData, Comparable<AuthorData>, NameProvider, Serializable
All Known Subinterfaces:
ExtendedAuthor
All Known Implementing Classes:
AuthorCachingFacade, AuthorImpl, ChangeAuthor

public interface Author
extends AuthorData, Serializable


Field Summary
static String UNKNOWN_AUTHOR
           
 
Method Summary
 List<ResultsSummary> getAllTriggeredBuildResults()
          Gets all builds triggered by the author
 List<ResultsSummary> getBreakages()
          Get the build results broken by the author.
 List<ResultsSummary> getFailedBuilds()
          Gets all the builds triggered by the author that failed.
 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.
 String getFullName()
          Get a full name for display purposes
 String getNameForUrl()
          Returns a url encoded string of the author name Originally for BAM-1298 - backslashes in author names
 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.
 int getNumberOfFailedBuilds()
          Gets number of the builds triggered by the author that failed.
 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.
 int getNumberOfSuccessfulBuilds()
          Gets number of the builds triggered by the author that were successful.
 int getNumberOfTriggeredBuilds()
          Gets number of builds triggered by the author
 List<ResultsSummary> getSuccessfulBuilds()
          Gets all the builds triggered by the author that was successful.
 List<ResultsSummary> getTriggeredBuildResults()
          Gets all builds triggered by the author Depending on implementation number of results may be limited to arbitrary value
 
Methods inherited from interface com.atlassian.bamboo.author.AuthorData
getEmail, getLinkedUserName, getName, setEmail, setLinkedUserName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

UNKNOWN_AUTHOR

static final String UNKNOWN_AUTHOR
See Also:
Constant Field Values
Method Detail

getNameForUrl

String getNameForUrl()
Returns a url encoded string of the author name Originally for BAM-1298 - backslashes in author names

Returns:
url encoded name

getFullName

@NotNull
String 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 of ResultsSummary

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 of ResultsSummary

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 of ResultsSummary

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 of ResultsSummary

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 of ResultsSummary

getAllTriggeredBuildResults

List<ResultsSummary> getAllTriggeredBuildResults()
Gets all builds triggered by the author

Returns:
a List of ResultsSummary

getNumberOfTriggeredBuilds

int getNumberOfTriggeredBuilds()
Gets number of builds triggered by the author

Returns:
int


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.