Class WriteTOMLStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.pipeline.utility.steps.toml.WriteTOMLStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class WriteTOMLStep
extends org.jenkinsci.plugins.workflow.steps.Step
Writes a
LinkedHashMap object to file in the current working directory.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionWriteTOMLStep(Object toml) WriteTOMLStep(String file, Object toml) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetFile()Returns the name of the file to write.getTOML()Return the toml object to save.booleanvoidvoidsetReturnText(boolean returnText) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
WriteTOMLStep
-
WriteTOMLStep
Deprecated.
-
-
Method Details
-
getFile
Returns the name of the file to write.- Returns:
- the file name
-
setFile
-
getTOML
Return the toml object to save.- Returns:
- an object
-
isReturnText
public boolean isReturnText() -
setReturnText
@DataBoundSetter public void setReturnText(boolean returnText) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-