public class CpsHttpFlowDefinition
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
Modifier and Type | Class and Description |
---|---|
static class |
CpsHttpFlowDefinition.DescriptorImpl |
Constructor and Description |
---|
CpsHttpFlowDefinition(String scriptUrl,
String setAcceptHeader,
int retryCount,
CachingConfiguration cachingConfiguration) |
Modifier and Type | Method and Description |
---|---|
org.jenkinsci.plugins.workflow.cps.CpsFlowExecution |
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner,
hudson.model.TaskListener listener,
List<? extends hudson.model.Action> actions) |
CachingConfiguration |
getCachingConfiguration() |
String |
getCredentialsId() |
Instant |
getExpirationDate() |
int |
getRetryCount() |
String |
getScriptUrl() |
String |
getSetAcceptHeader() |
void |
setCredentialsId(String credentialsId) |
@DataBoundConstructor public CpsHttpFlowDefinition(String scriptUrl, String setAcceptHeader, int retryCount, CachingConfiguration cachingConfiguration)
public String getScriptUrl()
public String getSetAcceptHeader()
public int getRetryCount()
public CachingConfiguration getCachingConfiguration()
public Instant getExpirationDate()
public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
public org.jenkinsci.plugins.workflow.cps.CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, hudson.model.TaskListener listener, List<? extends hudson.model.Action> actions) throws Exception
create
in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
Exception
Copyright © 2016–2020. All rights reserved.