public class


extends SimpleMinimalCommit
implements Commit Serializable
   ↳ com.atlassian.bitbucket.commit.SimpleMinimalCommit
     ↳ com.atlassian.bitbucket.commit.SimpleCommit


Nested Classes
class SimpleCommit.Builder  
Inherited Constants
From class com.atlassian.bitbucket.commit.SimpleMinimalCommit
Public Methods
boolean equals(Object o)
@Nonnull Person getAuthor()
@Nonnull Date getAuthorTimestamp()
@Nonnull Person getCommitter()
@Nonnull Date getCommitterTimestamp()
String getMessage()
@Nonnull List<MinimalCommit> getParents()
@Nonnull PropertyMap getProperties()
Repository getRepository()
Retrieves the repository this commit was loaded from, if it's available.
int hashCode()
void setProperties(PropertyMap properties)
void setRepository(Repository repository)
String toString()
Inherited Methods
From class com.atlassian.bitbucket.commit.SimpleMinimalCommit
From class java.lang.Object
From interface com.atlassian.bitbucket.commit.Commit
From interface com.atlassian.bitbucket.commit.MinimalCommit
From interface

Public Methods

public boolean equals (Object o)

@Nonnull public Person getAuthor ()

@Nonnull public Date getAuthorTimestamp ()

@Nonnull public Person getCommitter ()

@Nonnull public Date getCommitterTimestamp ()

public String getMessage ()

@Nonnull public List<MinimalCommit> getParents ()

@Nonnull public PropertyMap getProperties ()

public Repository getRepository ()

Retrieves the repository this commit was loaded from, if it's available.

Note: For reasons of performance and conciseness this field may be null depending on the service used to construct this commit. If an explicit repository context has been provided by some other mechanism (for example, web-fragments on the commit page will have an explicit 'repository' object in their render context) it is preferable to use that instead of this.

  • the repository that this commit belongs to

public int hashCode ()

public void setProperties (PropertyMap properties)

public void setRepository (Repository repository)

public String toString ()