|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.author.ChangeAuthor
public class ChangeAuthor
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.author.Author |
---|
UNKNOWN_AUTHOR |
Constructor Summary | |
---|---|
ChangeAuthor(java.lang.String name)
|
Method Summary | |
---|---|
void |
addTriggeredBuildResult(ResultsSummary resultsSummary)
|
int |
compareTo(Author otherAuthor)
|
boolean |
equals(java.lang.Object o)
|
java.util.List<ResultsSummary> |
getBreakages()
Get the build results broken by the author. |
java.util.List<ResultsSummary> |
getFailedBuilds()
Gets all the builds triggered by the author that failed. |
java.util.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 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<ResultsSummary> |
getSuccessfulBuilds()
Gets all the builds triggered by the author that was successful. |
java.util.List<ResultsSummary> |
getTriggeredBuildResults()
Gets all builds triggered by the author |
int |
hashCode()
|
void |
setLinkedUserName(java.lang.String linkedUserName)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeAuthor(@NotNull java.lang.String name)
Method Detail |
---|
@NotNull public java.lang.String getName()
Author
getName
in interface Author
getName
in interface NameProvider
public void setName(@NotNull java.lang.String name)
public java.lang.String getNameForUrl()
Author
getNameForUrl
in interface Author
@NotNull public java.lang.String getFullName()
Author
getFullName
in interface Author
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(Author otherAuthor)
compareTo
in interface java.lang.Comparable<Author>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<ResultsSummary> getBreakages()
Author
getBreakages
in interface Author
List
of ResultsSummary
public java.util.List<ResultsSummary> getFixes()
Author
getFixes
in interface Author
List
of ResultsSummary
public java.util.List<ResultsSummary> getFailedBuilds()
Author
getFailedBuilds
in interface Author
List
of ResultsSummary
public java.util.List<ResultsSummary> getSuccessfulBuilds()
Author
getSuccessfulBuilds
in interface Author
List
of ResultsSummary
public java.util.List<ResultsSummary> getTriggeredBuildResults()
Author
getTriggeredBuildResults
in interface Author
List
of ResultsSummary
public int getNumberOfBreakages()
Author
getNumberOfBreakages
in interface Author
public int getNumberOfFixes()
Author
getNumberOfFixes
in interface Author
public int getNumberOfFailedBuilds()
Author
getNumberOfFailedBuilds
in interface Author
public int getNumberOfSuccessfulBuilds()
Author
getNumberOfSuccessfulBuilds
in interface Author
public int getNumberOfTriggeredBuilds()
Author
getNumberOfTriggeredBuilds
in interface Author
public java.lang.String getLinkedUserName()
getLinkedUserName
in interface Author
public void setLinkedUserName(java.lang.String linkedUserName)
setLinkedUserName
in interface Author
public void addTriggeredBuildResult(ResultsSummary resultsSummary)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |