Class XmlEditBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.xmleditor.builders.XmlEditBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
Freestyle build step "Edit XML file": same operations as
xmlEdit, with $VARIABLE expansion.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()getFiles()Ant pattern(s), comma separated; used instead offile.intNamespace prefixes for XPath, oneprefix=uriper line.booleanisDryRun()booleanbooleanvoidvoidsetDryRun(boolean dryRun) voidsetExcludes(String excludes) voidvoidsetMaxSizeMb(int maxSizeMb) voidsetNamespaces(String namespaces) voidsetOutputFile(String outputFile) voidsetShowDiff(boolean showDiff) voidsetStrictNamespaces(boolean strictNamespaces) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
XmlEditBuilder
-
-
Method Details
-
getFile
-
getOperations
-
getFiles
Ant pattern(s), comma separated; used instead offile. -
setFiles
-
getExcludes
-
setExcludes
-
isDryRun
public boolean isDryRun() -
setDryRun
@DataBoundSetter public void setDryRun(boolean dryRun) -
getOutputFile
-
setOutputFile
-
isShowDiff
public boolean isShowDiff() -
setShowDiff
@DataBoundSetter public void setShowDiff(boolean showDiff) -
getNamespaces
Namespace prefixes for XPath, oneprefix=uriper line. -
setNamespaces
-
isStrictNamespaces
public boolean isStrictNamespaces() -
setStrictNamespaces
@DataBoundSetter public void setStrictNamespaces(boolean strictNamespaces) -
getMaxSizeMb
public int getMaxSizeMb() -
setMaxSizeMb
@DataBoundSetter public void setMaxSizeMb(int maxSizeMb) -
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-