Class ExtendedSCMBinder
- java.lang.Object
 - 
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
 - 
- org.jenkinsci.plugins.workflow.flow.FlowDefinition
 - 
- org.jenkinsci.plugins.workflow.multibranch.extended.scm.ExtendedSCMBinder
 
 
 
 
- 
- All Implemented Interfaces:
 ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class ExtendedSCMBinder extends org.jenkinsci.plugins.workflow.flow.FlowDefinitionThis class consist of necessary methods for binding another Jenkins file from another repository to Multibranch pipeline.- Author:
 - Aytunc BEKEN, aytuncbeken.ab@gmail.com
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtendedSCMBinder.DescriptorImplDescriptor Implementation forFlowDefinitionDescriptor.static classExtendedSCMBinder.HideMeThis method hides Remote Jenkins Plugin from other Pipeline Jobs and make visible to only MultiBranch Pipeline- 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ExtendedSCMBinder(String remoteJenkinsFile, SCM remoteJenkinsFileSCM, String scmSourceBranchName, boolean matchBranches, String fallbackBranch, String originJenkinsFileDefinition, Boolean lookupInParameters, String localMarker)Constructor for the class. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jenkinsci.plugins.workflow.flow.FlowExecutioncreate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions)Overwrites create method of FlowDefinition class.StringgetLocalMarker()StringgetRemoteJenkinsFile()StringgetRemoteJenkinsFileBranch()SCMgetRemoteJenkinsFileSCM()booleanisMatchBranches() 
 - 
 
- 
- 
Constructor Detail
- 
ExtendedSCMBinder
public ExtendedSCMBinder(String remoteJenkinsFile, SCM remoteJenkinsFileSCM, String scmSourceBranchName, boolean matchBranches, String fallbackBranch, String originJenkinsFileDefinition, Boolean lookupInParameters, String localMarker)
Constructor for the class.- Parameters:
 remoteJenkinsFile- Path of the remote jenkins file from Remote Jenkins File Plugin descriptorremoteJenkinsFileSCM- SCM definition from Remote Jenkins File Plugin descriptor
 
 - 
 
- 
Method Detail
- 
create
public org.jenkinsci.plugins.workflow.flow.FlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) throws ExceptionOverwrites create method of FlowDefinition class. This methods sets the defined Jenkins file and defined SCM on Remote Jenkins Plugin to Pipeline job which will be created by MultiBranch Pipeline.- Overrides:
 createin classorg.jenkinsci.plugins.workflow.flow.FlowDefinition- Parameters:
 handle-FlowExecutionOwnerlistener-TaskListeneractions- List ofAction- Returns:
 FlowExecution- Throws:
 Exception
 
- 
getRemoteJenkinsFileSCM
public SCM getRemoteJenkinsFileSCM()
 
- 
getRemoteJenkinsFile
public String getRemoteJenkinsFile()
 
- 
getRemoteJenkinsFileBranch
public String getRemoteJenkinsFileBranch()
 
- 
isMatchBranches
public boolean isMatchBranches()
 
- 
getLocalMarker
public String getLocalMarker()
 
 - 
 
 -