Class AuthorImpl

java.lang.Object
com.atlassian.core.bean.EntityObject
All Implemented Interfaces:
Author, AuthorContext, AuthorData, ExtendedAuthor, BambooIdProvider, BambooObject, NameProvider, Serializable, Cloneable, Comparable<AuthorContext>

@Deprecated @Entity public class AuthorImpl extends AuthorDataImpl implements ExtendedAuthor
Deprecated.
since 3.3
Consider using AuthorCachingFacade or AuthorDataImpl instead of this class.
See Also:
  • Constructor Details

    • AuthorImpl

      public AuthorImpl()
      Deprecated.
    • AuthorImpl

      public AuthorImpl(String name)
      Deprecated.
    • AuthorImpl

      public AuthorImpl(String name, String linkedUserName)
      Deprecated.
    • AuthorImpl

      public AuthorImpl(String name, String linkedUserName, String email)
      Deprecated.
    • AuthorImpl

      public AuthorImpl(AuthorContext newAuthor)
      Deprecated.
  • Method Details

    • getFullName

      @NotNull public @NotNull String getFullName()
      Deprecated.
      Description copied from interface: Author
      Get a full name for display purposes
      Specified by:
      getFullName in interface Author
      Returns:
      full name
    • getBreakages

      public List<ResultsSummary> getBreakages()
      Deprecated.
      Get up to MAX_RESULT_COUNT last broken builds triggered by this author.
      Specified by:
      getBreakages in interface Author
      Returns:
      List of BuildResultsSummary
    • getFixes

      public List<ResultsSummary> getFixes()
      Deprecated.
      Get up to MAX_RESULT_COUNT last fixed builds triggered by this author.
      Specified by:
      getFixes in interface Author
      Returns:
      List of BuildResultsSummary
    • getSuccessfulBuilds

      public List<ResultsSummary> getSuccessfulBuilds()
      Deprecated.
      Get up to MAX_RESULT_COUNT last successful builds triggered by this author.
      Specified by:
      getSuccessfulBuilds in interface Author
      Returns:
      List of BuildResultsSummary
    • getFailedBuilds

      public List<ResultsSummary> getFailedBuilds()
      Deprecated.
      Get up to MAX_RESULT_COUNT last failed builds triggered by this author.
      Specified by:
      getFailedBuilds in interface Author
      Returns:
      List of BuildResultsSummary
    • getTriggeredBuildResults

      public List<ResultsSummary> getTriggeredBuildResults()
      Deprecated.
      Get up to MAX_RESULT_COUNT last triggered by this author.
      Specified by:
      getTriggeredBuildResults in interface Author
      Returns:
      List of BuildResultsSummary
    • getAllTriggeredBuildResults

      public List<ResultsSummary> getAllTriggeredBuildResults()
      Deprecated.
      Get all builds triggered by this author for reporting purpose.
      Specified by:
      getAllTriggeredBuildResults in interface Author
      Returns:
      List of BuildResultsSummary
    • 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 interface Author
      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 interface Author
      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 interface Author
      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 interface Author
      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 interface Author
      Returns:
      Number of builds that were triggered by this author.
    • readResolve

      protected Object readResolve()
      Deprecated.