Package io.jenkins.plugins.pipeline
Class PipelineAsYamlScmFlowDefinition
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
-
- org.jenkinsci.plugins.workflow.flow.FlowDefinition
-
- io.jenkins.plugins.pipeline.PipelineAsYamlScmFlowDefinition
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class PipelineAsYamlScmFlowDefinition extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
SCM Binder class forWorkflowBranchProjectFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PipelineAsYamlScmFlowDefinition.DescriptorImpl
Extension forFlowDefinitionDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PipelineAsYamlScmFlowDefinition(String yamlJenkinsFilePath, SCM yamlJenkinsFileScm, boolean lightweight)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jenkinsci.plugins.workflow.flow.FlowExecution
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions)
String
getYamlJenkinsFilePath()
SCM
getYamlJenkinsFileScm()
boolean
isLightweight()
void
setLightweight(boolean lightweight)
void
setYamlJenkinsFilePath(String yamlJenkinsFilePath)
void
setYamlJenkinsFileScm(SCM yamlJenkinsFileScm)
-
-
-
Constructor Detail
-
PipelineAsYamlScmFlowDefinition
@DataBoundConstructor public PipelineAsYamlScmFlowDefinition(String yamlJenkinsFilePath, SCM yamlJenkinsFileScm, boolean lightweight)
Constructor- Parameters:
yamlJenkinsFilePath
- Pipeline As Yaml File path in SCMyamlJenkinsFileScm
- SCM Definitionlightweight
- LightWeight Checkout Flag
-
-
Method Detail
-
getYamlJenkinsFilePath
public String getYamlJenkinsFilePath()
-
setYamlJenkinsFilePath
@DataBoundSetter public void setYamlJenkinsFilePath(String yamlJenkinsFilePath)
-
getYamlJenkinsFileScm
public SCM getYamlJenkinsFileScm()
-
setYamlJenkinsFileScm
@DataBoundSetter public void setYamlJenkinsFileScm(SCM yamlJenkinsFileScm)
-
isLightweight
public boolean isLightweight()
-
setLightweight
@DataBoundSetter public void setLightweight(boolean lightweight)
-
create
public org.jenkinsci.plugins.workflow.flow.FlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) throws Exception
- Overrides:
create
in classorg.jenkinsci.plugins.workflow.flow.FlowDefinition
- Throws:
Exception
-
-