Class XPath2AssertionWrapper
- java.lang.Object
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper<T>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicChildTestElementWrapper<T>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedTestElementWrapper<org.apache.jmeter.assertions.XPath2Assertion,org.apache.jmeter.assertions.gui.XPath2AssertionGui>
-
- org.anasoid.jmc.core.wrapper.jmeter.assertions.XPath2AssertionWrapper
-
- All Implemented Interfaces:
java.io.Serializable,JMeterGUIWrapper<org.apache.jmeter.assertions.gui.XPath2AssertionGui>,AssertionWrapper<org.apache.jmeter.assertions.XPath2Assertion>,TestElementTreeNodeWrapper<org.apache.jmeter.assertions.XPath2Assertion>,TestElementWrapper<org.apache.jmeter.assertions.XPath2Assertion>
@JmcDefaultName("XPath2 Assertion") public class XPath2AssertionWrapper extends AbstractScopedTestElementWrapper<org.apache.jmeter.assertions.XPath2Assertion,org.apache.jmeter.assertions.gui.XPath2AssertionGui> implements AssertionWrapper<org.apache.jmeter.assertions.XPath2Assertion>
Wrapper for XPath2Assertion.- See Also:
XPath2Assertion, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXPath2AssertionWrapper.XPath2AssertionWrapperBuilder<C extends XPath2AssertionWrapper,B extends XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<C,B>>Builder.-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedTestElementWrapper
AbstractScopedTestElementWrapper.AbstractScopedTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractScopedTestElement,G extends org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent,C extends AbstractScopedTestElementWrapper<T,G>,B extends AbstractScopedTestElementWrapper.AbstractScopedTestElementWrapperBuilder<T,G,C,B>>
-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicChildTestElementWrapper
AbstractBasicChildTestElementWrapper.AbstractBasicChildTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractTestElement,C extends AbstractBasicChildTestElementWrapper<T>,B extends AbstractBasicChildTestElementWrapper.AbstractBasicChildTestElementWrapperBuilder<T,C,B>>
-
Nested classes/interfaces inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper
AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder<T extends org.apache.jmeter.testelement.AbstractTestElement,C extends AbstractBasicTestElementWrapper<T>,B extends AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder<T,C,B>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXPath2AssertionWrapper(XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?> b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?>builder()java.lang.Class<?>getGuiClass()Gui Test Class used by Jmeter TestElement.GUI_CLASS @See TestElementjava.util.List<java.lang.String>getNamespaces()List of namespace aliases prefix=full namespace.java.lang.Class<?>getTestClass()Test Class used by Jmeter TestElement.TEST_CLASS.java.lang.StringgetXpath()XPath to match in the document.booleanisNegate()Will fail if xpath expression returns true or matches, succeed otherwise.protected java.lang.StringnamespacesProp()voidsetNamespaces(java.util.List<java.lang.String> namespaces)List of namespace aliases prefix=full namespace.voidsetNegate(boolean negate)Will fail if xpath expression returns true or matches, succeed otherwise.voidsetXpath(java.lang.String xpath)XPath to match in the document.XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?>toBuilder()-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedTestElementWrapper
getScope, getScopeVariable, setScope
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicChildTestElementWrapper
getComment, getName, isEnabled, setComment, setEnabled, setName
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper
getChilds, getGuiClassAsString, getTags, getTestClassAsString, init, internalInit, isFullClassName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.anasoid.jmc.core.wrapper.jmeter.testelement.TestElementWrapper
getChilds, getTags, getTestClassAsString, init
-
-
-
-
Constructor Detail
-
XPath2AssertionWrapper
protected XPath2AssertionWrapper(XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?> b)
-
-
Method Detail
-
namespacesProp
protected java.lang.String namespacesProp()
-
getGuiClass
public java.lang.Class<?> getGuiClass()
Description copied from interface:JMeterGUIWrapperGui Test Class used by Jmeter TestElement.GUI_CLASS @See TestElement- Specified by:
getGuiClassin interfaceJMeterGUIWrapper<org.apache.jmeter.assertions.gui.XPath2AssertionGui>
-
getTestClass
public java.lang.Class<?> getTestClass()
Description copied from interface:TestElementWrapperTest Class used by Jmeter TestElement.TEST_CLASS. @See TestElement.- Specified by:
getTestClassin interfaceTestElementWrapper<org.apache.jmeter.assertions.XPath2Assertion>
-
builder
public static XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?> builder()
-
toBuilder
public XPath2AssertionWrapper.XPath2AssertionWrapperBuilder<?,?> toBuilder()
-
getXpath
public java.lang.String getXpath()
XPath to match in the document.
-
setXpath
public void setXpath(java.lang.String xpath)
XPath to match in the document.
-
isNegate
public boolean isNegate()
Will fail if xpath expression returns true or matches, succeed otherwise.
-
setNegate
public void setNegate(boolean negate)
Will fail if xpath expression returns true or matches, succeed otherwise.
-
getNamespaces
public java.util.List<java.lang.String> getNamespaces()
List of namespace aliases prefix=full namespace.
-
setNamespaces
public void setNamespaces(java.util.List<java.lang.String> namespaces)
List of namespace aliases prefix=full namespace.
-
-