Class ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>>
- java.lang.Object
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder<T,C,B>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicChildTestElementWrapper.AbstractBasicChildTestElementWrapperBuilder<T,C,B>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedTestElementWrapper.AbstractScopedTestElementWrapperBuilder<T,G,C,B>
-
- org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C,B>
-
- org.anasoid.jmc.core.wrapper.jmeter.assertions.ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>
-
- All Implemented Interfaces:
JmcWrapperBuilder<C>
- Enclosing class:
- ResponseAssertionWrapper
public abstract static class ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>> extends AbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C,B>
Builder.
-
-
Constructor Summary
Constructors Constructor Description ResponseAssertionWrapperBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected B$fillValuesFrom(C instance)BaddPattern(java.lang.String pattern)Add pattern to list of patterns.BaddPatterns(java.util.List<java.lang.String> patterns)Add list of patterns.abstract Cbuild()build Wrapper.protected abstract Bself()java.lang.StringtoString()BwithCustomMessage(java.lang.String customMessage)BwithFieldToTest(AssertionField fieldToTest)BwithIgnoreStatus(java.lang.Boolean ignoreStatus)BwithMatchingRule(MatchingRule matchingRule)BwithNot(boolean not)BwithOr(boolean or)-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder
withScope
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.AbstractScopedTestElementWrapper.AbstractScopedTestElementWrapperBuilder
withScopeVariable, withScopeVariable
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicChildTestElementWrapper.AbstractBasicChildTestElementWrapperBuilder
withComment, withEnabled, withName
-
Methods inherited from class org.anasoid.jmc.core.wrapper.jmeter.testelement.basic.AbstractBasicTestElementWrapper.AbstractBasicTestElementWrapperBuilder
addTags, withIsInitialized, withTags
-
-
-
-
Method Detail
-
addPatterns
public B addPatterns(java.util.List<java.lang.String> patterns)
Add list of patterns.
-
addPattern
public B addPattern(java.lang.String pattern)
Add pattern to list of patterns.
-
$fillValuesFrom
protected B $fillValuesFrom(C instance)
- Overrides:
$fillValuesFromin classAbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>>
-
self
protected abstract B self()
- Specified by:
selfin classAbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>>
-
build
public abstract C build()
Description copied from interface:JmcWrapperBuilderbuild Wrapper.- Specified by:
buildin interfaceJmcWrapperBuilder<C extends ResponseAssertionWrapper>- Specified by:
buildin classAbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>>
-
withCustomMessage
public B withCustomMessage(java.lang.String customMessage)
- Returns:
this.
-
withIgnoreStatus
public B withIgnoreStatus(java.lang.Boolean ignoreStatus)
- Returns:
this.
-
withFieldToTest
public B withFieldToTest(AssertionField fieldToTest)
- Returns:
this.
-
withMatchingRule
public B withMatchingRule(MatchingRule matchingRule)
- Returns:
this.
-
withNot
public B withNot(boolean not)
- Returns:
this.
-
withOr
public B withOr(boolean or)
- Returns:
this.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractScopedAssertionWrapper.AbstractScopedAssertionWrapperBuilder<org.apache.jmeter.assertions.ResponseAssertion,org.apache.jmeter.assertions.gui.AssertionGui,C extends ResponseAssertionWrapper,B extends ResponseAssertionWrapper.ResponseAssertionWrapperBuilder<C,B>>
-
-