public class WriteYamlStep
extends org.jenkinsci.plugins.workflow.steps.Step
| Modifier and Type | Class and Description |
|---|---|
static class |
WriteYamlStep.DescriptorImpl |
static class |
WriteYamlStep.Execution |
| Constructor and Description |
|---|
WriteYamlStep(String file,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset() |
Object |
getData()
An Object containing data to be saved.
|
String |
getFile()
Name of the yaml file to write.
|
boolean |
isOverwrite() |
void |
setCharset(String charset)
The charset encoding to use when writing the file.
|
void |
setOverwrite(boolean overwrite) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
public String getFile()
public Object getData()
public String getCharset()
@DataBoundSetter public void setCharset(String charset)
charset - the charsetCharset,
Charset.forName(String)public boolean isOverwrite()
@DataBoundSetter public void setOverwrite(boolean overwrite)
Copyright © 2016–2020. All rights reserved.