Class XmlEditStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.xmleditor.steps.AbstractXmlStep
io.jenkins.plugins.xmleditor.steps.AbstractXPathStep
io.jenkins.plugins.xmleditor.steps.XmlEditStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
xmlEdit: applies a list of operations to a workspace file, to all files matching a pattern, or to XML text,
preserving everything that is not changed.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFiles()Ant pattern(s), comma separated, e.g.booleanisDryRun()booleanvoidsetDryRun(boolean dryRun) voidsetExcludes(String excludes) voidvoidsetOutputFile(String outputFile) voidsetShowDiff(boolean showDiff) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class io.jenkins.plugins.xmleditor.steps.AbstractXPathStep
getNamespaces, isStrictNamespaces, setNamespaces, setStrictNamespacesMethods inherited from class io.jenkins.plugins.xmleditor.steps.AbstractXmlStep
getFile, getMaxSizeMb, getText, setFile, setMaxSizeMb, setTextMethods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
XmlEditStep
-
-
Method Details
-
getOperations
-
getFiles
Ant pattern(s), comma separated, e.g.**/*.csproj. -
setFiles
-
getExcludes
-
setExcludes
-
getOutputFile
-
setOutputFile
-
isShowDiff
public boolean isShowDiff() -
setShowDiff
@DataBoundSetter public void setShowDiff(boolean showDiff) -
isDryRun
public boolean isDryRun() -
setDryRun
@DataBoundSetter public void setDryRun(boolean dryRun) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step
-