public class CommitContextImpl extends Object implements CommitContext, Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CommitContextImpl.Builder | 
| Constructor and Description | 
|---|
| CommitContextImpl(AuthorContext author,
                 @NotNull List<CommitFile> files,
                 @NotNull String comment,
                 @NotNull Date date,
                 String changeSetId) | 
| Modifier and Type | Method and Description | 
|---|---|
| static CommitContextImpl.Builder | builder() | 
| boolean | equals(Object o) | 
| AuthorContext | getAuthorContext() | 
| @Nullable String | getBranch() | 
| String | getChangeSetId()Return VCS identifier for this changeset. | 
| @NotNull String | getComment() | 
| @NotNull Date | getDate() | 
| @NotNull List<CommitFile> | getFiles() | 
| @Nullable String | guessChangeSetId() | 
| int | hashCode() | 
| boolean | isForeignCommit()True if commit comes from another branch/is not in the ancestry path. | 
| String | toString() | 
public CommitContextImpl(AuthorContext author, @NotNull @NotNull List<CommitFile> files, @NotNull @NotNull String comment, @NotNull @NotNull Date date, String changeSetId)
public AuthorContext getAuthorContext()
getAuthorContext in interface CommitContextAuthorContext of commit author@NotNull public @NotNull List<CommitFile> getFiles()
getFiles in interface CommitContextList of CommitFile objects representing changed files@NotNull public @NotNull String getComment()
getComment in interface CommitContext@NotNull public @NotNull Date getDate()
getDate in interface CommitContextDate of commit.@Nullable public @Nullable String getBranch()
public String getChangeSetId()
CommitContextgetChangeSetId in interface CommitContextpublic boolean isForeignCommit()
CommitContextisForeignCommit in interface CommitContext@Nullable public @Nullable String guessChangeSetId()
guessChangeSetId in interface CommitContextpublic static CommitContextImpl.Builder builder()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.