com.atlassian.bamboo.author
Interface Author

All Superinterfaces:
java.lang.Comparable, java.io.Serializable
All Known Subinterfaces:
ExtendedAuthor
All Known Implementing Classes:
AuthorImpl, ChangeAuthor

public interface Author
extends java.lang.Comparable, java.io.Serializable


Field Summary
static java.lang.String UNKNOWN_AUTHOR
           
 
Method Summary
 java.util.List<BuildResultsSummary> getBreakages()
          Get the build results broken by the author.
 java.util.List<BuildResultsSummary> getFailedBuilds()
          Gets all the builds triggered by the author that failed.
 java.util.List<BuildResultsSummary> getFixes()
          Get the build results fixed by the author A build is deemed fixed by the author if the build they triggered was succesful and the previous one failed.
 java.lang.String getFullName()
          Get a full name for display purposes
 java.lang.String getLinkedUserName()
           
 java.lang.String getName()
          Unique name identifying an author.
 java.lang.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 fixed by author A build is deemed fixed by the author if the build they triggered was succesful and the previous one failed.
 int getNumberOfFailedBuilds()
          Gets number of the builds triggered by the author that failed.
 int getNumberOfFixes()
          Get the number of builds fixed by author A build is deemed fixed by the author if the build they triggered was succesful 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
 java.util.List<BuildResultsSummary> getSuccessfulBuilds()
          Gets all the builds triggered by the author that was successful.
 java.util.List<BuildResultsSummary> getTriggeredBuildResults()
          Gets all builds triggered by the author
 void setLinkedUserName(java.lang.String linkedUserName)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

UNKNOWN_AUTHOR

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

getName

java.lang.String getName()
Unique name identifying an author.

Returns:
identifying alias

getNameForUrl

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

Returns:
url encoded name

getFullName

java.lang.String getFullName()
Get a full name for display purposes

Returns:
full name

getBreakages

java.util.List<BuildResultsSummary> 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 succesful.

Returns:
a List of BuildResultsSummary

getNumberOfBreakages

int getNumberOfBreakages()
Get the number of builds fixed by author A build is deemed fixed by the author if the build they triggered was succesful and the previous one failed.

Returns:
int

getFixes

java.util.List<BuildResultsSummary> getFixes()
Get the build results fixed by the author A build is deemed fixed by the author if the build they triggered was succesful and the previous one failed.

Returns:
a List of BuildResultsSummary

getNumberOfFixes

int getNumberOfFixes()
Get the number of builds fixed by author A build is deemed fixed by the author if the build they triggered was succesful and the previous one failed.

Returns:
int

getFailedBuilds

java.util.List<BuildResultsSummary> getFailedBuilds()
Gets all the builds triggered by the author that failed.

Returns:
a List of BuildResultsSummary

getNumberOfFailedBuilds

int getNumberOfFailedBuilds()
Gets number of the builds triggered by the author that failed.

Returns:
int

getSuccessfulBuilds

java.util.List<BuildResultsSummary> getSuccessfulBuilds()
Gets all the builds triggered by the author that was successful.

Returns:
a List of BuildResultsSummary

getNumberOfSuccessfulBuilds

int getNumberOfSuccessfulBuilds()
Gets number of the builds triggered by the author that were successful.

Returns:
int

getTriggeredBuildResults

java.util.List<BuildResultsSummary> getTriggeredBuildResults()
Gets all builds triggered by the author

Returns:
a List of BuildResultsSummary

getNumberOfTriggeredBuilds

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

Returns:
int

setLinkedUserName

void setLinkedUserName(java.lang.String linkedUserName)

getLinkedUserName

java.lang.String getLinkedUserName()


Copyright © 2010 Atlassian. All Rights Reserved.