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
- See Also:
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution
ws
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Execution
(ReadYamlStep step, org.jenkinsci.plugins.workflow.steps.StepContext context, int maxAliasesForCollections, int codePointLimit) -
Method Summary
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
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
acceptAll, acceptAll, applyAll, applyAll, getContext, getStatusBounded
-
Constructor Details
-
Execution
protected Execution(@NonNull ReadYamlStep step, @NonNull org.jenkinsci.plugins.workflow.steps.StepContext context, int maxAliasesForCollections, int codePointLimit)
-
-
Method Details
-
doRun
- 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()
-