Class 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 Detail

      • 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 Detail

      • 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