Class RssNotification.CommitWithUrl

java.lang.Object
com.atlassian.bamboo.notification.rss.RssNotification.CommitWithUrl
All Implemented Interfaces:
CommitContext
Enclosing class:
RssNotification

public static class RssNotification.CommitWithUrl extends Object implements CommitContext
  • Constructor Details

    • CommitWithUrl

      public CommitWithUrl(@NotNull @NotNull CommitContext commitContext, @Nullable @Nullable String url)
  • Method Details

    • getAuthorContext

      public AuthorContext getAuthorContext()
      Specified by:
      getAuthorContext in interface CommitContext
      Returns:
      AuthorContext of commit author
    • getFiles

      @NotNull public @NotNull List<CommitFile> getFiles()
      Specified by:
      getFiles in interface CommitContext
      Returns:
      List of CommitFile objects representing changed files
    • getComment

      @NotNull public @NotNull String getComment()
      Specified by:
      getComment in interface CommitContext
      Returns:
      the commit comment
    • getDate

      @NotNull public @NotNull Date getDate()
      Specified by:
      getDate in interface CommitContext
      Returns:
      Date of commit.
    • getChangeSetId

      @Nullable public @Nullable String getChangeSetId()
      Description copied from interface: CommitContext
      Return VCS identifier for this changeset.
      Specified by:
      getChangeSetId in interface CommitContext
      Returns:
    • guessChangeSetId

      @Nullable public @Nullable String guessChangeSetId()
      Specified by:
      guessChangeSetId in interface CommitContext
    • isForeignCommit

      public boolean isForeignCommit()
      Description copied from interface: CommitContext
      True if commit comes from another branch/is not in the ancestry path. (DVCS only) It is allowed to return false negatives but not false positives. Will return false if feature not supported by repository plugin. In some cases (git) may return false even if commit originated in different branch due to git limitations.
      Specified by:
      isForeignCommit in interface CommitContext
    • getUrl

      @NotNull public @NotNull String getUrl()