|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.bamboo.core.BambooEntityObject com.atlassian.bamboo.author.AuthorImpl
public class AuthorImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Fields inherited from interface com.atlassian.bamboo.author.Author |
---|
UNKNOWN_AUTHOR |
Constructor Summary | |
---|---|
AuthorImpl()
|
|
AuthorImpl(java.lang.String name)
|
|
AuthorImpl(java.lang.String name,
java.lang.String linkedUserName)
|
Method Summary | |
---|---|
int |
compareTo(Author otherAuthor)
|
boolean |
equals(java.lang.Object o)
|
java.util.List<ResultsSummary> |
getBreakages()
Get up to MAX_RESULT_COUNT last broken builds triggered by this author. |
ExtendedAuthorManager |
getExtendedAuthorManager()
|
java.util.List<ResultsSummary> |
getFailedBuilds()
Get up to MAX_RESULT_COUNT last failed builds triggered by this author. |
java.util.List<ResultsSummary> |
getFixes()
Get up to MAX_RESULT_COUNT last fixed builds triggered by this author. |
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()
Get up to MAX_RESULT_COUNT last successful builds triggered by this author. |
java.util.List<ResultsSummary> |
getTriggeredBuildResults()
Get up to MAX_RESULT_COUNT last triggered by this author. |
int |
hashCode()
|
void |
setBambooUserManager(BambooUserManager bambooUserManager)
|
void |
setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
|
void |
setLinkedUserName(java.lang.String linkedUserName)
|
void |
setName(java.lang.String name)
|
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Constructor Detail |
---|
public AuthorImpl()
public AuthorImpl(java.lang.String name)
public AuthorImpl(java.lang.String name, java.lang.String linkedUserName)
Method Detail |
---|
public java.lang.String getName()
Author
getName
in interface Author
getName
in interface NameProvider
public void setName(java.lang.String name)
public java.lang.String getFullName()
Author
getFullName
in interface Author
public java.util.List<ResultsSummary> getBreakages()
MAX_RESULT_COUNT
last broken builds triggered by this author.
getBreakages
in interface Author
List
of BuildResultsSummary
public java.util.List<ResultsSummary> getFixes()
MAX_RESULT_COUNT
last fixed builds triggered by this author.
getFixes
in interface Author
List
of BuildResultsSummary
public java.util.List<ResultsSummary> getSuccessfulBuilds()
MAX_RESULT_COUNT
last successful builds triggered by this author.
getSuccessfulBuilds
in interface Author
List
of BuildResultsSummary
public java.util.List<ResultsSummary> getFailedBuilds()
MAX_RESULT_COUNT
last failed builds triggered by this author.
getFailedBuilds
in interface Author
List
of BuildResultsSummary
public java.util.List<ResultsSummary> getTriggeredBuildResults()
MAX_RESULT_COUNT
last triggered by this author.
getTriggeredBuildResults
in interface Author
List
of BuildResultsSummary
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 java.lang.String getNameForUrl()
Author
getNameForUrl
in interface Author
public ExtendedAuthorManager getExtendedAuthorManager()
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
public void setBambooUserManager(BambooUserManager bambooUserManager)
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(java.lang.Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(Author otherAuthor)
compareTo
in interface java.lang.Comparable<Author>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |