Class CpsHttpFlowDefinition
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
org.jenkinsci.plugins.workflowhttp.cps.CpsHttpFlowDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class CpsHttpFlowDefinition
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorsConstructorDescriptionCpsHttpFlowDefinition
(String scriptUrl) CpsHttpFlowDefinition
(String scriptUrl, String setAcceptHeader, String setKeyHeader, String setValueHeader, int retryCount, CachingConfiguration cachingConfiguration) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.cps.CpsFlowExecution
create
(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) int
void
setCachingConfiguration
(CachingConfiguration cachingConfiguration) void
setCredentialsId
(String credentialsId) void
setRetryCount
(int retryCount) void
setSetAcceptHeader
(String setAcceptHeader) void
setSetKeyHeader
(String setKeyHeader) void
setSetValueHeader
(String setValueHeader) Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowDefinition
create, getDescriptor, getSCMs
-
Constructor Details
-
CpsHttpFlowDefinition
@Deprecated public CpsHttpFlowDefinition(String scriptUrl, String setAcceptHeader, String setKeyHeader, String setValueHeader, int retryCount, CachingConfiguration cachingConfiguration) Deprecated. -
CpsHttpFlowDefinition
-
-
Method Details
-
getScriptUrl
-
getSetAcceptHeader
-
getSetKeyHeader
-
getSetValueHeader
-
getRetryCount
public int getRetryCount() -
getCachingConfiguration
-
getExpirationDate
-
getCredentialsId
-
setSetAcceptHeader
-
setSetKeyHeader
-
setSetValueHeader
-
setRetryCount
@DataBoundSetter public void setRetryCount(int retryCount) -
setCachingConfiguration
-
setCredentialsId
-
create
public org.jenkinsci.plugins.workflow.cps.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
-