public interface MinimalRef
Repository
, describing only the ref's name.Modifier and Type | Method and Description |
---|---|
String |
getDisplayId()
An identifier for this reference suitable for display to end users.
|
String |
getId()
The absolute identifier of this reference, which should never be ambiguous within the backing
Repository . |
RefType |
getType() |
@Nonnull String getDisplayId()
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 practise, however, the returned identifier should be sensible
for users familiar with the underlying SCM.
@Nonnull String getId()
Repository
.
When performing operations which accept a commit ID, this is the value that should be used to ensure there are
no ambiguities. Using getDisplayId()
may result in unexpected behaviour.
Copyright © 2021 Atlassian. All rights reserved.