public abstract class AbstractFileOrTextStep
extends org.jenkinsci.plugins.workflow.steps.Step
| Modifier and Type | Field and Description |
|---|---|
protected String |
file |
protected String |
text |
| Constructor and Description |
|---|
AbstractFileOrTextStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFile()
The path to a file in the workspace to read from.
|
String |
getText()
A String containing the formatted data.
|
void |
setFile(String file)
The path to a file in the workspace to read from.
|
void |
setText(String text)
A String containing the formatted data.
|
public String getFile()
@DataBoundSetter public void setFile(String file)
file - the pathpublic String getText()
@DataBoundSetter public void setText(String text)
text - text to parseCopyright © 2016–2020. All rights reserved.