Class PipelineAsYamlScriptFlowDefinition

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
io.jenkins.plugins.pipeline.PipelineAsYamlScriptFlowDefinition
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>

public class PipelineAsYamlScriptFlowDefinition extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
SCM Binder class for WorkflowBranchProjectFactory
  • Constructor Details

    • PipelineAsYamlScriptFlowDefinition

      @DataBoundConstructor public PipelineAsYamlScriptFlowDefinition(String yamlJenkinsScript, boolean sandbox)
      Constructor
      Parameters:
      yamlJenkinsScript - Pipeline As Yaml Script
      sandbox - Sandbox flag
  • Method Details

    • getYamlJenkinsScript

      public String getYamlJenkinsScript()
    • setYamlJenkinsScript

      @DataBoundSetter public void setYamlJenkinsScript(String yamlJenkinsScript)
    • isSandbox

      public boolean isSandbox()
    • setSandbox

      @DataBoundSetter public void setSandbox(boolean sandbox)
    • 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