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
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) getScm()
Collection<? extends SCM>
getSCMs()
boolean
void
setLightweight
(boolean lightweight) Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowDefinition
create, getDescriptor
-
Constructor Details
-
CpsScmFlowDefinition
-
-
Method Details
-
getScm
-
getSCMs
- Overrides:
getSCMs
in classorg.jenkinsci.plugins.workflow.flow.FlowDefinition
-
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 classorg.jenkinsci.plugins.workflow.flow.FlowDefinition
- Throws:
Exception
-