Package com.cloudogu.scmmanager.scm.api
Class ScmManagerPullRequestRevision
java.lang.Object
jenkins.scm.api.SCMRevision
jenkins.scm.api.mixin.ChangeRequestSCMRevision<ScmManagerPullRequestHead>
com.cloudogu.scmmanager.scm.api.ScmManagerPullRequestRevision
- All Implemented Interfaces:
Serializable
public class ScmManagerPullRequestRevision
extends jenkins.scm.api.mixin.ChangeRequestSCMRevision<ScmManagerPullRequestHead>
- See Also:
-
Constructor Summary
ConstructorDescriptionScmManagerPullRequestRevision
(ScmManagerPullRequestHead pullRequest, ScmManagerRevision targetRevision, ScmManagerRevision sourceRevision) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
boolean
equivalent
(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> o) 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
-
ScmManagerPullRequestRevision
public ScmManagerPullRequestRevision(@NonNull ScmManagerPullRequestHead pullRequest, @NonNull ScmManagerRevision targetRevision, @NonNull ScmManagerRevision sourceRevision)
-
-
Method Details
-
getSourceRevision
-
equivalent
public boolean equivalent(jenkins.scm.api.mixin.ChangeRequestSCMRevision<?> o) - Specified by:
equivalent
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<ScmManagerPullRequestHead>
-
_hashCode
protected int _hashCode()- Specified by:
_hashCode
in classjenkins.scm.api.mixin.ChangeRequestSCMRevision<ScmManagerPullRequestHead>
-
toString
- Overrides:
toString
in classjenkins.scm.api.SCMRevision
-