Produces StepWrappers
Modifiers | Name | Description |
---|---|---|
static class |
StepWrapperFactory.StepWrapperShellDecorator |
Registers a compiler customization for parsing StepWrappers |
Constructor and description |
---|
StepWrapperFactory
(org.jenkinsci.plugins.workflow.cps.CpsFlowExecution exec) |
Type Params | Return Type | Name and description |
---|---|---|
|
StepWrapper |
createDefaultStep(java.lang.String name, java.util.Map stepConfig) Creates an instance of the default step implementation |
|
StepWrapper |
createFromFilePath(hudson.FilePath filePath, java.lang.String library, java.util.Map config, java.lang.Boolean isSandboxed) takes a FilePath holding the source text for the step and creates a StepWrapper instance |
|
StepWrapper |
createNullStep(java.lang.String stepName) Produces a no-op StepWrapper |
|
StepWrapperScript |
prepareScript(StepWrapper step, java.lang.String sourceText) Parses source code and turns it into a CPS transformed executable script that's been autowired appropriately for JTE. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates an instance of the default step implementation
takes a FilePath holding the source text for the step and creates a StepWrapper instance
filePath
- the FilePath where the source file can be foundlibrary
- the library contributing the stepconfig
- the library configuration for the stepProduces a no-op StepWrapper
stepName
- the name of the step to be createdParses source code and turns it into a CPS transformed executable script that's been autowired appropriately for JTE.
library
- the library contributing the stepname
- the name of the stepsource
- the source code textconfig
- the library configurationoptional
- StageContextoptional
- HookContext