Class MergeRequestSCMHead
java.lang.Object
jenkins.scm.api.SCMHead
io.jenkins.plugins.gitlabbranchsource.MergeRequestSCMHead
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.ChangeRequestSCMHead
,jenkins.scm.api.mixin.ChangeRequestSCMHead2
,jenkins.scm.api.mixin.SCMHeadMixin
public class MergeRequestSCMHead
extends jenkins.scm.api.SCMHead
implements jenkins.scm.api.mixin.ChangeRequestSCMHead2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.scm.api.SCMHead
jenkins.scm.api.SCMHead.HeadByItem
Nested classes/interfaces inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
jenkins.scm.api.mixin.SCMHeadMixin.Equality
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMHead
PRONOUN
-
Constructor Summary
ConstructorDescriptionMergeRequestSCMHead
(String name, long id, BranchSCMHead target, jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy strategy, jenkins.scm.api.SCMHeadOrigin origin, String originOwner, String originProjectPath, String originName, String title) Constructor. -
Method Summary
Methods inherited from class jenkins.scm.api.SCMHead
compareTo, equals, getAction, getAllActions, getName, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface jenkins.scm.api.mixin.SCMHeadMixin
getName
-
Constructor Details
-
MergeRequestSCMHead
public MergeRequestSCMHead(@NonNull String name, long id, BranchSCMHead target, jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy strategy, jenkins.scm.api.SCMHeadOrigin origin, String originOwner, String originProjectPath, String originName, String title) Constructor.- Parameters:
id
- the merge request id.name
- the name of the head.target
- the target of this merge request.strategy
- the checkout strategyorigin
- the origin of the merge requestoriginOwner
- the name of the owner of the origin projectoriginProjectPath
- the name of the origin project pathoriginName
- the name of the branch in the origin projecttitle
- the title of the merge request
-
-
Method Details
-
getPronoun
- Overrides:
getPronoun
in classjenkins.scm.api.SCMHead
-
getCheckoutStrategy
@NonNull public jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy getCheckoutStrategy()- Specified by:
getCheckoutStrategy
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getOriginName
- Specified by:
getOriginName
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead2
-
getId
- Specified by:
getId
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getTarget
- Specified by:
getTarget
in interfacejenkins.scm.api.mixin.ChangeRequestSCMHead
-
getOrigin
@NonNull public jenkins.scm.api.SCMHeadOrigin getOrigin()- Specified by:
getOrigin
in interfacejenkins.scm.api.mixin.SCMHeadMixin
- Overrides:
getOrigin
in classjenkins.scm.api.SCMHead
-
getOriginOwner
-
getOriginProjectPath
-
getTitle
-
setTitle
-