Class RssNotification.CommitWithUrl
java.lang.Object
com.atlassian.bamboo.notification.rss.RssNotification.CommitWithUrl
- All Implemented Interfaces:
CommitContext
- Enclosing class:
- RssNotification
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CommitWithUrl
-
-
Method Details
-
getAuthorContext
- Specified by:
getAuthorContext
in interfaceCommitContext
- Returns:
AuthorContext
of commit author
-
getFiles
- Specified by:
getFiles
in interfaceCommitContext
- Returns:
List
ofCommitFile
objects representing changed files
-
getComment
- Specified by:
getComment
in interfaceCommitContext
- Returns:
- the commit comment
-
getDate
- Specified by:
getDate
in interfaceCommitContext
- Returns:
Date
of commit.
-
getChangeSetId
Description copied from interface:CommitContext
Return VCS identifier for this changeset.- Specified by:
getChangeSetId
in interfaceCommitContext
- Returns:
-
guessChangeSetId
- Specified by:
guessChangeSetId
in interfaceCommitContext
-
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 interfaceCommitContext
-
getUrl
-