Class XmlQueryStep
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.XmlQueryStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
xmlQuery: evaluates an XPath expression and returns its value.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturned (withSTRING) when nothing matches; takes precedence overfailIfNotFound.getXpath()booleanvoidsetDefaultValue(String defaultValue) voidsetFailIfNotFound(boolean failIfNotFound) voidsetReturnType(String returnType) 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
-
XmlQueryStep
-
-
Method Details
-
getXpath
-
getReturnType
-
setReturnType
-
isFailIfNotFound
public boolean isFailIfNotFound() -
setFailIfNotFound
@DataBoundSetter public void setFailIfNotFound(boolean failIfNotFound) -
getDefaultValue
Returned (withSTRING) when nothing matches; takes precedence overfailIfNotFound. -
setDefaultValue
-
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
-