public class CpsFlowDefinition
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
Modifier and Type | Class and Description |
---|---|
static class |
CpsFlowDefinition.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CpsFlowDefinition(String script)
Deprecated.
use
CpsFlowDefinition(String, boolean) instead |
CpsFlowDefinition(String script,
boolean sandbox) |
Modifier and Type | Method and Description |
---|---|
CpsFlowExecution |
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle,
Action... actions) |
CpsFlowExecution |
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner,
TaskListener listener,
List<? extends Action> actions) |
String |
getScript() |
boolean |
isSandbox() |
@Deprecated public CpsFlowDefinition(String script)
CpsFlowDefinition(String, boolean)
instead@DataBoundConstructor public CpsFlowDefinition(String script, boolean sandbox)
public String getScript()
public boolean isSandbox()
public CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, Action... actions) throws IOException
IOException
public CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) throws IOException
create
in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
IOException
Copyright © 2016–2020. All rights reserved.