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
  • Constructor Details

    • PipelineAsYamlScmFlowDefinition

      @DataBoundConstructor public PipelineAsYamlScmFlowDefinition(String yamlJenkinsFilePath, SCM yamlJenkinsFileScm, boolean lightweight)
      Constructor
      Parameters:
      yamlJenkinsFilePath - Pipeline As Yaml File path in SCM
      yamlJenkinsFileScm - SCM Definition
      lightweight - LightWeight Checkout Flag
  • Method Details

    • getYamlJenkinsFilePath

      public String getYamlJenkinsFilePath()
    • setYamlJenkinsFilePath

      @DataBoundSetter public void setYamlJenkinsFilePath(String yamlJenkinsFilePath)
    • getYamlJenkinsFileScm

      public SCM getYamlJenkinsFileScm()
    • setYamlJenkinsFileScm

      @DataBoundSetter public void setYamlJenkinsFileScm(SCM yamlJenkinsFileScm)
    • 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:
      create in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
      Throws:
      Exception