public class CpsScmFlowDefinition
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
Modifier and Type | Class and Description |
---|---|
static class |
CpsScmFlowDefinition.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CpsScmFlowDefinition(SCM scm,
String scriptPath) |
Modifier and Type | Method and Description |
---|---|
CpsFlowExecution |
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner,
TaskListener listener,
List<? extends Action> actions) |
SCM |
getScm() |
String |
getScriptPath() |
boolean |
isLightweight() |
void |
setLightweight(boolean lightweight) |
public SCM getScm()
public String getScriptPath()
public boolean isLightweight()
@DataBoundSetter public void setLightweight(boolean lightweight)
public CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) throws Exception
create
in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
Exception
Copyright © 2016–2020. All rights reserved.