|
||||||||||
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(String name)
|
Method Summary | |
---|---|
void |
addTriggeredBuildResult(ResultsSummary resultsSummary)
|
int |
compareTo(AuthorData otherAuthor)
|
boolean |
equals(Object o)
|
List<ResultsSummary> |
getAllTriggeredBuildResults()
Gets all builds triggered by the author |
List<ResultsSummary> |
getBreakages()
Get the build results broken by the author. |
String |
getEmail()
|
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 |
getLinkedUserName()
|
String |
getName()
Unique name identifying an author. |
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 |
int |
hashCode()
|
void |
setEmail(String email)
|
void |
setLinkedUserName(String linkedUserName)
|
void |
setName(String name)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeAuthor(@NotNull String name)
Method Detail |
---|
@NotNull public String getName()
AuthorData
getName
in interface AuthorData
getName
in interface NameProvider
public void setName(@NotNull String name)
public String getNameForUrl()
Author
getNameForUrl
in interface Author
@NotNull public String getFullName()
Author
getFullName
in interface Author
public boolean equals(Object o)
equals
in class Object
public int compareTo(AuthorData otherAuthor)
compareTo
in interface Comparable<AuthorData>
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public List<ResultsSummary> getBreakages()
Author
getBreakages
in interface Author
List
of ResultsSummary
public List<ResultsSummary> getFixes()
Author
getFixes
in interface Author
List
of ResultsSummary
public List<ResultsSummary> getFailedBuilds()
Author
getFailedBuilds
in interface Author
List
of ResultsSummary
public List<ResultsSummary> getSuccessfulBuilds()
Author
getSuccessfulBuilds
in interface Author
List
of ResultsSummary
public List<ResultsSummary> getTriggeredBuildResults()
Author
getTriggeredBuildResults
in interface Author
List
of ResultsSummary
public List<ResultsSummary> getAllTriggeredBuildResults()
Author
getAllTriggeredBuildResults
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 String getLinkedUserName()
getLinkedUserName
in interface AuthorData
public void setLinkedUserName(@Nullable String linkedUserName)
setLinkedUserName
in interface AuthorData
public String getEmail()
getEmail
in interface AuthorData
public void setEmail(@Nullable String email)
setEmail
in interface AuthorData
public void addTriggeredBuildResult(ResultsSummary resultsSummary)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |