Package com.atlassian.bitbucket.commit
Class SimpleMinimalCommit
java.lang.Object
com.atlassian.bitbucket.commit.SimpleMinimalCommit
- All Implemented Interfaces:
MinimalCommit
,Serializable
- Direct Known Subclasses:
SimpleCommit
,SimpleMinimalRepositoryCommit
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
SimpleMinimalCommit.AbstractMinimalCommitBuilder<B extends SimpleMinimalCommit.AbstractMinimalCommitBuilder<B,
R>, R extends MinimalCommit> static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
-
Field Details
-
DEFAULT_DISPLAY_ID_LENGTH
public static final int DEFAULT_DISPLAY_ID_LENGTH- See Also:
-
-
Constructor Details
-
SimpleMinimalCommit
-
-
Method Details
-
equals
-
getDisplayId
Description copied from interface:MinimalCommit
An identifier for this commit suitable for display to end users.No guarantees are made as to how this identifier differs from
MinimalCommit.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.- Specified by:
getDisplayId
in interfaceMinimalCommit
- Returns:
- a display ID
-
getId
Description copied from interface:MinimalCommit
An identifier for this commit which may be passed to the system in order to retrieve more information related to it.- Specified by:
getId
in interfaceMinimalCommit
- Returns:
- a commit ID
-
hashCode
public int hashCode() -
toString
-