@ExportedBean public abstract class SCMRevision extends Object implements Serializable
SCMHead
.Modifier | Constructor and Description |
---|---|
protected |
SCMRevision(SCMHead head)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Object obj) |
SCMHead |
getHead()
Returns the
SCMHead that this SCMRevision belongs to. |
abstract int |
hashCode() |
boolean |
isDeterministic()
Returns
true if and only if this revision is deterministic, in other words that repeated checkouts of
this revision will result in the exact same files being checked out. |
String |
toString()
Should provide a concise, human-readable summary of this revision in an implementation-dependent format.
|
protected SCMRevision(@NonNull SCMHead head)
head
- the SCMHead
that the SCMRevision
belongs to.public String toString()
@Exported public boolean isDeterministic()
true
if and only if this revision is deterministic, in other words that repeated checkouts of
this revision will result in the exact same files being checked out. Most modern SCM systems have a deterministic
revision, however some of the older ones do not have a deterministic revision for all types of head.true
if and only if this revision is deterministic.@Exported @NonNull public final SCMHead getHead()
SCMHead
that this SCMRevision
belongs to.SCMHead
that this SCMRevision
belongs to.Copyright © 2016–2022. All rights reserved.