Class SplitStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.parallel_test_executor.SplitStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public final class SplitStep extends org.jenkinsci.plugins.workflow.steps.Step
Allows the splitting logic to be accessed from a workflow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SplitStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SplitStep(Parallelism parallelism)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Parallelism
getParallelism()
String
getStage()
TestMode
getTestMode()
boolean
isEstimateTestsFromFiles()
Deprecated.usegetTestMode()
()} insteadboolean
isGenerateInclusions()
void
setEstimateTestsFromFiles(boolean estimateTestsFromFiles)
Deprecated.usesetTestMode(TestMode)
instead.void
setGenerateInclusions(boolean generateInclusions)
void
setStage(String stage)
void
setTestMode(TestMode testMode)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
SplitStep
@DataBoundConstructor public SplitStep(Parallelism parallelism)
-
-
Method Detail
-
getParallelism
public Parallelism getParallelism()
-
isGenerateInclusions
public boolean isGenerateInclusions()
-
setGenerateInclusions
@DataBoundSetter public void setGenerateInclusions(boolean generateInclusions)
-
getTestMode
public TestMode getTestMode()
-
setTestMode
@DataBoundSetter public void setTestMode(TestMode testMode)
-
setEstimateTestsFromFiles
@Deprecated @DataBoundSetter public void setEstimateTestsFromFiles(boolean estimateTestsFromFiles)
Deprecated.usesetTestMode(TestMode)
instead.- Parameters:
estimateTestsFromFiles
- true if we should estimate the tests from the files
-
isEstimateTestsFromFiles
@Deprecated public boolean isEstimateTestsFromFiles()
Deprecated.usegetTestMode()
()} insteadMethod kept only to make the snippet generator happy.- Returns:
- true if we should estimate the tests from the files
-
getStage
public String getStage()
-
setStage
@DataBoundSetter public void setStage(String stage)
-
-