Package io.jenkins.plugins.xmleditor.ops
Class AddElementOp
java.lang.Object
hudson.model.AbstractDescribableImpl<XmlOperationDescribable>
io.jenkins.plugins.xmleditor.ops.XmlOperationDescribable
io.jenkins.plugins.xmleditor.ops.AddElementOp
- All Implemented Interfaces:
Describable<XmlOperationDescribable>
addElement(xpath: ..., fragment: ..., position: 'LAST_CHILD'): inserts an XML fragment.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.jenkins.plugins.xmleditor.ops.XmlOperationDescribable
XmlOperationDescribable.OperationDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPosition(String position) toCore(UnaryOperator<String> expand) Methods inherited from class io.jenkins.plugins.xmleditor.ops.XmlOperationDescribable
expand, getExpected, getXpath, setExpectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
AddElementOp
-
-
Method Details
-
getFragment
-
getPosition
-
setPosition
-
toCore
- Specified by:
toCorein classXmlOperationDescribable- Parameters:
expand- expansion applied to user values (environment variables in Freestyle, identity in Pipeline)
-