Class PipelineAsYamlWorkflowBranchProjectFactory

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchProjectFactory<?,?>>
jenkins.branch.BranchProjectFactory<org.jenkinsci.plugins.workflow.job.WorkflowJob,org.jenkinsci.plugins.workflow.job.WorkflowRun>
org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory
org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
io.jenkins.plugins.pipeline.PipelineAsYamlWorkflowBranchProjectFactory
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.branch.BranchProjectFactory<?,?>>, Saveable

public class PipelineAsYamlWorkflowBranchProjectFactory extends org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
Pipeline As YAML Implementation for WorkflowBranchProjectFactory
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Extension for AbstractWorkflowBranchProjectFactory.AbstractWorkflowBranchProjectFactoryDescriptor
    static class 
    Extension for RunListener

    Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory

    org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory.AbstractWorkflowBranchProjectFactoryDescriptor

    Nested classes/interfaces inherited from class jenkins.branch.BranchProjectFactory

    jenkins.branch.BranchProjectFactory.HeadByItemImpl, jenkins.branch.BranchProjectFactory.SourceByItemImpl

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Field Summary

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.jenkinsci.plugins.workflow.flow.FlowDefinition
     
    protected jenkins.scm.api.SCMSourceCriteria
    getSCMSourceCriteria(jenkins.scm.api.SCMSource source)
     
     
    void
    setYamlJenkinsFile(String yamlJenkinsFile)
     

    Methods inherited from class org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory

    getScriptPath, readResolve, setScriptPath

    Methods inherited from class org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory

    getBranch, isProject, newInstance, setBranch

    Methods inherited from class jenkins.branch.BranchProjectFactory

    asProject, decorate, getDescriptor, getLastSeenRevision, getOwner, getProjectClass, getRevision, save, setLastSeenRevisionHash, setOwner, setRevisionHash

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PipelineAsYamlWorkflowBranchProjectFactory

      @DataBoundConstructor public PipelineAsYamlWorkflowBranchProjectFactory(String yamlJenkinsFile)
      Constructor
      Parameters:
      yamlJenkinsFile - Path of the Pipeline As Yaml script file in SCM
  • Method Details

    • getYamlJenkinsFile

      public String getYamlJenkinsFile()
    • setYamlJenkinsFile

      @DataBoundSetter public void setYamlJenkinsFile(String yamlJenkinsFile)
    • createDefinition

      protected org.jenkinsci.plugins.workflow.flow.FlowDefinition createDefinition()
      Overrides:
      createDefinition in class org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
    • getSCMSourceCriteria

      protected jenkins.scm.api.SCMSourceCriteria getSCMSourceCriteria(jenkins.scm.api.SCMSource source)
      Overrides:
      getSCMSourceCriteria in class org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory