Package com.atlassian.bamboo.author
Class AuthorImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.author.AuthorDataImpl
com.atlassian.bamboo.author.AuthorImpl
- All Implemented Interfaces:
Author
,AuthorContext
,AuthorData
,ExtendedAuthor
,BambooIdProvider
,BambooObject
,NameProvider
,Serializable
,Cloneable
,Comparable<AuthorContext>
Deprecated.
since 3.3
Consider using AuthorCachingFacade or AuthorDataImpl instead of this class.
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.author.Author
UNKNOWN_AUTHOR
-
Constructor Summary
ConstructorDescriptionDeprecated.AuthorImpl
(AuthorContext newAuthor) Deprecated.AuthorImpl
(String name) Deprecated.AuthorImpl
(String name, String linkedUserName) Deprecated.AuthorImpl
(String name, String linkedUserName, String email) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get all builds triggered by this author for reporting purpose.Deprecated.Get up toMAX_RESULT_COUNT
last broken builds triggered by this author.Deprecated.Get up toMAX_RESULT_COUNT
last failed builds triggered by this author.getFixes()
Deprecated.Get up toMAX_RESULT_COUNT
last fixed builds triggered by this author.@NotNull String
Deprecated.Get a full name for display purposesint
Deprecated.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
Deprecated.Gets number of the builds triggered by the author that failed.int
Deprecated.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
Deprecated.Gets number of the builds triggered by the author that were successful.int
Deprecated.Gets number of builds triggered by the authorDeprecated.Get up toMAX_RESULT_COUNT
last successful builds triggered by this author.Deprecated.Get up toMAX_RESULT_COUNT
last triggered by this author.protected Object
Deprecated.Methods inherited from class com.atlassian.bamboo.author.AuthorDataImpl
compareTo, equals, getEmail, getLinkedUserName, getName, hashCode, setEmail, setLinkedUserName, setName
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.author.AuthorContext
getEmail, getLinkedUserName, getName
Methods inherited from interface com.atlassian.bamboo.author.AuthorData
setEmail, setLinkedUserName
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
AuthorImpl
public AuthorImpl()Deprecated. -
AuthorImpl
Deprecated. -
AuthorImpl
Deprecated. -
AuthorImpl
Deprecated. -
AuthorImpl
Deprecated.
-
-
Method Details
-
getFullName
Deprecated.Description copied from interface:Author
Get a full name for display purposes- Specified by:
getFullName
in interfaceAuthor
- Returns:
- full name
-
getBreakages
Deprecated.Get up toMAX_RESULT_COUNT
last broken builds triggered by this author.- Specified by:
getBreakages
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getFixes
Deprecated.Get up toMAX_RESULT_COUNT
last fixed builds triggered by this author.- Specified by:
getFixes
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getSuccessfulBuilds
Deprecated.Get up toMAX_RESULT_COUNT
last successful builds triggered by this author.- Specified by:
getSuccessfulBuilds
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getFailedBuilds
Deprecated.Get up toMAX_RESULT_COUNT
last failed builds triggered by this author.- Specified by:
getFailedBuilds
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getTriggeredBuildResults
Deprecated.Get up toMAX_RESULT_COUNT
last triggered by this author.- Specified by:
getTriggeredBuildResults
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getAllTriggeredBuildResults
Deprecated.Get all builds triggered by this author for reporting purpose.- Specified by:
getAllTriggeredBuildResults
in interfaceAuthor
- Returns:
List
ofBuildResultsSummary
-
getNumberOfBreakages
public int getNumberOfBreakages()Deprecated.Description copied from interface:Author
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.- Specified by:
getNumberOfBreakages
in interfaceAuthor
- Returns:
- Number of builds broken by this author.
-
getNumberOfFixes
public int getNumberOfFixes()Deprecated.Description copied from interface:Author
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.- Specified by:
getNumberOfFixes
in interfaceAuthor
- Returns:
- Number of builds fixed by this author.
-
getNumberOfFailedBuilds
public int getNumberOfFailedBuilds()Deprecated.Description copied from interface:Author
Gets number of the builds triggered by the author that failed.- Specified by:
getNumberOfFailedBuilds
in interfaceAuthor
- Returns:
- Number of builds that were triggered by this author and failed.
-
getNumberOfSuccessfulBuilds
public int getNumberOfSuccessfulBuilds()Deprecated.Description copied from interface:Author
Gets number of the builds triggered by the author that were successful.- Specified by:
getNumberOfSuccessfulBuilds
in interfaceAuthor
- Returns:
- Number of builds that were triggered by this author and succeeded.
-
getNumberOfTriggeredBuilds
public int getNumberOfTriggeredBuilds()Deprecated.Description copied from interface:Author
Gets number of builds triggered by the author- Specified by:
getNumberOfTriggeredBuilds
in interfaceAuthor
- Returns:
- Number of builds that were triggered by this author.
-
readResolve
Deprecated.
-