Class ReadYamlStep.Execution
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecution
-
- org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
-
- org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution<Object>
-
- org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep.Execution
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ReadYamlStep
public static class ReadYamlStep.Execution extends AbstractFileOrTextStepExecution<Object>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution
ws
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Execution(ReadYamlStep step, org.jenkinsci.plugins.workflow.steps.StepContext context, int maxAliasesForCollections, int codePointLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
doRun()
protected org.yaml.snakeyaml.Yaml
newYaml()
-
Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution
run
-
Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution
blocksRestart, getStatus, onResume, start, stop
-
-
-
-
Constructor Detail
-
Execution
protected Execution(@NonNull ReadYamlStep step, @NonNull org.jenkinsci.plugins.workflow.steps.StepContext context, int maxAliasesForCollections, int codePointLimit)
-
-
Method Detail
-
doRun
protected Object doRun() throws Exception
- Specified by:
doRun
in classAbstractFileOrTextStepExecution<Object>
- Returns:
- Map<String, Object> if only one YAML document
- list of Map<String, Object> if multiple YAML document
- Throws:
Exception
-
newYaml
protected org.yaml.snakeyaml.Yaml newYaml()
-
-