com.atlassian.bamboo.commit
Class CommitContextImpl
java.lang.Object
com.atlassian.bamboo.commit.CommitContextImpl
- All Implemented Interfaces:
- CommitContext, java.io.Serializable
public class CommitContextImpl
- extends java.lang.Object
- implements CommitContext, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CommitContextImpl
public CommitContextImpl(Author author,
@NotNull
java.util.List<CommitFile> files,
@NotNull
java.lang.String comment,
java.util.Date date,
java.lang.String changeSetId)
getAuthor
public Author getAuthor()
- Specified by:
getAuthor
in interface CommitContext
- Returns:
Author
who made the commit
getFiles
@NotNull
public java.util.List<CommitFile> getFiles()
- Specified by:
getFiles
in interface CommitContext
- Returns:
List
of CommitFile
objects representing changed files
getComment
@NotNull
public java.lang.String getComment()
- Specified by:
getComment
in interface CommitContext
- Returns:
- the commit comment
getDate
public java.util.Date getDate()
- Specified by:
getDate
in interface CommitContext
- Returns:
Date
of commit.
getChangeSetId
public java.lang.String getChangeSetId()
- Description copied from interface:
CommitContext
- Return VCS identifier for this changeset.
- Specified by:
getChangeSetId
in interface CommitContext
- Returns:
guessChangeSetId
@Nullable
public java.lang.String guessChangeSetId()
- Specified by:
guessChangeSetId
in interface CommitContext
builder
public static CommitContextImpl.Builder builder()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.