public interface

MinimalCommit

com.atlassian.bitbucket.commit.MinimalCommit
Known Indirect Subclasses

Class Overview

A minimal commit, defining only identifier information.

Summary

Public Methods
@Nonnull String getDisplayId()
An identifier for this commit suitable for display to end users.
@Nonnull String getId()
An identifier for this commit which may be passed to the system in order to retrieve more information related to it.

Public Methods

@Nonnull public String getDisplayId ()

An identifier for this commit suitable for display to end users.

No guarantees are made as to how this identifier differs from getId()--they may be identical or not, at the whim of the underlying SCM implementation. In practice, however, the returned identifier should be sensible for users familiar with the underlying SCM.

Returns
  • a display ID

@Nonnull public String getId ()

An identifier for this commit which may be passed to the system in order to retrieve more information related to it.

Returns
  • a commit ID