|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedAuthorManager
Method Summary | |
---|---|
void |
createAndSaveAuthor(java.lang.String authorName)
Creates and saves author given authorName, if bamboo user with the same username exists the new author will be linked to that user. |
java.util.List<BuildResultsSummary> |
findBuildResultsBrokenByAuthor(ExtendedAuthor author)
Deprecated. use the method with limited result count instead |
java.util.List<BuildResultsSummary> |
findBuildResultsBrokenByAuthor(ExtendedAuthor author,
int maxResultCount)
|
java.util.List<BuildResultsSummary> |
findBuildResultsFailedByAuthor(ExtendedAuthor author)
Deprecated. use the method with limited result count instead |
java.util.List<BuildResultsSummary> |
findBuildResultsFailedByAuthor(ExtendedAuthor author,
int maxResultCount)
|
java.util.List<BuildResultsSummary> |
findBuildResultsFixedByAuthor(ExtendedAuthor author)
Deprecated. use the method with limited result count instead |
java.util.List<BuildResultsSummary> |
findBuildResultsFixedByAuthor(ExtendedAuthor author,
int maxResultCount)
|
java.util.List<BuildResultsSummary> |
findBuildResultsSuccessfulByAuthor(ExtendedAuthor author)
Deprecated. use the method with limited result count instead |
java.util.List<BuildResultsSummary> |
findBuildResultsSuccessfulByAuthor(ExtendedAuthor author,
int maxResultCount)
|
java.util.List<BuildResultsSummary> |
findBuildResultsTriggeredByAuthor(ExtendedAuthor author)
Deprecated. use the method with limited result count instead |
java.util.List<BuildResultsSummary> |
findBuildResultsTriggeredByAuthor(ExtendedAuthor author,
int maxResultCount)
|
java.util.Collection<BuildResultsSummary> |
findLastBuildResultsBrokenByAuthor(ExtendedAuthor author)
Retrieves the last build broken by author for all the plans. |
int |
findNumberOfBuildBrokenByAuthor(ExtendedAuthor author)
|
int |
findNumberOfBuildFixedByAuthor(ExtendedAuthor author)
|
int |
findNumberOfBuildsTriggeredByAuthor(ExtendedAuthor author)
|
int |
findNumberOfFailedBuildsByAuthor(ExtendedAuthor author)
|
int |
findNumberOfSuccessfulBuildsByAuthor(ExtendedAuthor author)
|
ExtendedAuthor |
generateOrRetrieveAuthorFromCommit(Commit commit,
java.lang.String authorName)
Deprecated. use createAndSaveAuthor(String) when creating one or AuthorManager.getAuthorByName(String) when retrieving |
java.util.Set<ExtendedAuthor> |
getAllUnlinkedAuthors()
|
ExtendedAuthor |
getAuthorById(long id)
|
ExtendedAuthor |
getExtendedAuthorByName(java.lang.String name)
|
java.util.List<ExtendedAuthor> |
getLinkedAuthorForUser(com.atlassian.user.User user)
|
void |
removeAuthor(ExtendedAuthor extendedAuthor)
removes an author |
void |
saveAuthor(Author author)
Save the author |
Methods inherited from interface com.atlassian.bamboo.author.AuthorManager |
---|
getAllAuthors, getAuthorByName |
Method Detail |
---|
java.util.Set<ExtendedAuthor> getAllUnlinkedAuthors()
Set
of ExtendedAuthor
objects not linked to usersExtendedAuthor getExtendedAuthorByName(java.lang.String name)
name
-
ExtendedAuthor
with given name (assuming unique)ExtendedAuthor generateOrRetrieveAuthorFromCommit(Commit commit, java.lang.String authorName)
createAndSaveAuthor(String)
when creating one or AuthorManager.getAuthorByName(String)
when retrieving
commit
- authorName
-
ExtendedAuthor
which made the commit.void saveAuthor(Author author)
author
- @Deprecated java.util.List<BuildResultsSummary> findBuildResultsTriggeredByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
triggered by author@NotNull java.util.List<BuildResultsSummary> findBuildResultsTriggeredByAuthor(ExtendedAuthor author, int maxResultCount)
author
- maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author@NotNull java.util.List<BuildResultsSummary> findBuildResultsFailedByAuthor(ExtendedAuthor author, int maxResultCount)
author
- maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author and failed@Deprecated java.util.List<BuildResultsSummary> findBuildResultsFailedByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
triggered by author and failed@NotNull java.util.List<BuildResultsSummary> findBuildResultsSuccessfulByAuthor(ExtendedAuthor author, int maxResultCount)
author
- maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
triggered by author and successful@Deprecated java.util.List<BuildResultsSummary> findBuildResultsSuccessfulByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
triggered by author and successful@NotNull java.util.List<BuildResultsSummary> findBuildResultsBrokenByAuthor(ExtendedAuthor author, int maxResultCount)
author
- maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
broken by author@NotNull java.util.Collection<BuildResultsSummary> findLastBuildResultsBrokenByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
broken by author@Deprecated java.util.List<BuildResultsSummary> findBuildResultsBrokenByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
broken by author@NotNull java.util.List<BuildResultsSummary> findBuildResultsFixedByAuthor(ExtendedAuthor author, int maxResultCount)
author
- maxResultCount
- if <= 0 all the results are returned
List
of BuildResultsSummary
fixed by author@Deprecated java.util.List<BuildResultsSummary> findBuildResultsFixedByAuthor(ExtendedAuthor author)
author
-
List
of BuildResultsSummary
fixed by authorint findNumberOfBuildsTriggeredByAuthor(ExtendedAuthor author)
author
-
int findNumberOfFailedBuildsByAuthor(ExtendedAuthor author)
author
-
int findNumberOfSuccessfulBuildsByAuthor(ExtendedAuthor author)
author
-
int findNumberOfBuildFixedByAuthor(ExtendedAuthor author)
author
-
int findNumberOfBuildBrokenByAuthor(ExtendedAuthor author)
author
-
ExtendedAuthor getAuthorById(long id)
Author
given idjava.util.List<ExtendedAuthor> getLinkedAuthorForUser(com.atlassian.user.User user)
user
-
List
of ExtendedAuthor
linked to the user.void removeAuthor(ExtendedAuthor extendedAuthor)
extendedAuthor
- void createAndSaveAuthor(java.lang.String authorName)
authorName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |