public class SimpleMinimalCommit extends Object implements MinimalCommit, Serializable
Modifier and Type | Class and Description |
---|---|
protected static class |
SimpleMinimalCommit.AbstractMinimalCommitBuilder<B extends SimpleMinimalCommit.AbstractMinimalCommitBuilder<B,R>,R extends MinimalCommit> |
static class |
SimpleMinimalCommit.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DISPLAY_ID_LENGTH |
Modifier | Constructor and Description |
---|---|
protected |
SimpleMinimalCommit(SimpleMinimalCommit.AbstractMinimalCommitBuilder<?,?> builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDisplayId()
An identifier for this commit suitable for display to end users.
|
String |
getId()
An identifier for this commit which may be passed to the system in order to retrieve more information related
to it.
|
int |
hashCode() |
String |
toString() |
public static final int DEFAULT_DISPLAY_ID_LENGTH
protected SimpleMinimalCommit(SimpleMinimalCommit.AbstractMinimalCommitBuilder<?,?> builder)
@Nonnull public String getDisplayId()
MinimalCommit
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.
getDisplayId
in interface MinimalCommit
@Nonnull public String getId()
MinimalCommit
getId
in interface MinimalCommit
Copyright © 2022 Atlassian. All rights reserved.