Class CpsScmFlowDefinition

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>

public class CpsScmFlowDefinition extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
  • Constructor Details

    • CpsScmFlowDefinition

      @DataBoundConstructor public CpsScmFlowDefinition(SCM scm, String scriptPath)
  • Method Details

    • getScm

      public SCM getScm()
    • getSCMs

      public Collection<? extends SCM> getSCMs()
      Overrides:
      getSCMs in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
    • getScriptPath

      public String getScriptPath()
    • isLightweight

      public boolean isLightweight()
    • setLightweight

      @DataBoundSetter public void setLightweight(boolean lightweight)
    • create

      public CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) throws Exception
      Overrides:
      create in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
      Throws:
      Exception