Package io.jenkins.plugins.pipeline
Class PipelineAsYamlScmFlowDefinition
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
io.jenkins.plugins.pipeline.PipelineAsYamlScmFlowDefinition
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class PipelineAsYamlScmFlowDefinition
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
SCM Binder class for
WorkflowBranchProjectFactory-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExtension forFlowDefinitionDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionPipelineAsYamlScmFlowDefinition(String yamlJenkinsFilePath, SCM yamlJenkinsFileScm, boolean lightweight) Constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.flow.FlowExecutioncreate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) booleanvoidsetLightweight(boolean lightweight) voidsetYamlJenkinsFilePath(String yamlJenkinsFilePath) voidsetYamlJenkinsFileScm(SCM yamlJenkinsFileScm) Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowDefinition
create, getDescriptor, getSCMs
-
Constructor Details
-
PipelineAsYamlScmFlowDefinition
@DataBoundConstructor public PipelineAsYamlScmFlowDefinition(String yamlJenkinsFilePath, SCM yamlJenkinsFileScm, boolean lightweight) Constructor- Parameters:
yamlJenkinsFilePath- Pipeline As Yaml File path in SCMyamlJenkinsFileScm- SCM Definitionlightweight- LightWeight Checkout Flag
-
-
Method Details
-
getYamlJenkinsFilePath
-
setYamlJenkinsFilePath
-
getYamlJenkinsFileScm
-
setYamlJenkinsFileScm
-
isLightweight
public boolean isLightweight() -
setLightweight
@DataBoundSetter public void setLightweight(boolean lightweight) -
create
public org.jenkinsci.plugins.workflow.flow.FlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) throws Exception - Overrides:
createin classorg.jenkinsci.plugins.workflow.flow.FlowDefinition- Throws:
Exception
-