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.CpsFlowExecutioncreate(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) intvoidsetCachingConfiguration(CachingConfiguration cachingConfiguration) voidsetCredentialsId(String credentialsId) voidsetRetryCount(int retryCount) voidsetSetAcceptHeader(String setAcceptHeader) voidsetSetKeyHeader(String setKeyHeader) voidsetSetValueHeader(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:
createin classorg.jenkinsci.plugins.workflow.flow.FlowDefinition- Throws:
Exception
-