Class MergeRequestSCMRevision
java.lang.Object
jenkins.scm.api.SCMRevision
jenkins.scm.api.mixin.ChangeRequestSCMRevision<MergeRequestSCMHead>
io.jenkins.plugins.gitlabbranchsource.MergeRequestSCMRevision
- All Implemented Interfaces:
Serializable
public class MergeRequestSCMRevision
extends jenkins.scm.api.mixin.ChangeRequestSCMRevision<MergeRequestSCMHead>
- See Also:
-
Constructor Summary
ConstructorDescriptionMergeRequestSCMRevision
(MergeRequestSCMHead head, BranchSCMRevision target, BranchSCMRevision origin) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
boolean
equivalent
(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> revision) final BranchSCMRevision
toString()
Methods inherited from class jenkins.scm.api.mixin.ChangeRequestSCMRevision
equals, getTarget, hashCode, isMerge
Methods inherited from class jenkins.scm.api.SCMRevision
getHead, isDeterministic
-
Constructor Details
-
MergeRequestSCMRevision
public MergeRequestSCMRevision(@NonNull MergeRequestSCMHead head, @NonNull BranchSCMRevision target, @NonNull BranchSCMRevision origin) Constructor.- Parameters:
head
- theMergeRequestSCMHead
that theSCMRevision
belongs to.target
- theBranchSCMRevision
of theMergeRequestSCMHead.getTarget()
.origin
- theBranchSCMRevision
of theMergeRequestSCMHead.getOrigin()
head.
-
-
Method Details
-
getBaseHash
-
getHeadHash
-
getOrigin
-
equivalent
public boolean equivalent(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> revision) - Specified by:
equivalent
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<MergeRequestSCMHead>
-
_hashCode
protected int _hashCode()- Specified by:
_hashCode
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<MergeRequestSCMHead>
-
toString
- Overrides:
toString
in classjenkins.scm.api.SCMRevision
-