SubstitutionElement (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.assertions, class: SubstitutionElement

Package org.apache.jmeter.assertions

# Class SubstitutionElement

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.assertions.SubstitutionElement

All Implemented Interfaces:
  `Serializable`, `Cloneable`, `Searchable`, `org.apache.jmeter.testelement.TestElement`

public class SubstitutionElement extends AbstractTestElement

See Also:
  - Serialized Form

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElement

  `org.apache.jmeter.testelement.TestElement.Companion`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `REGEX`
  `static final String`
  `SUBSTITUTE`

  ### Fields inherited from interface org.apache.jmeter.testelement.TestElement

  `COMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SubstitutionElement()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getRegex()`
  `String`
  `getSubstitute()`
  `void`
  `setRegex(String regex)`
  `void`
  `setSubstitute(String sub)`

  ### Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

  `addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty`

  ### Methods inherited from class java.lang.Object

  `finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.jmeter.testelement.TestElement

  `get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set`

- ## Field Details

  - ### REGEX

    public static final String REGEX
    See Also:
      - Constant Field Values

  - ### SUBSTITUTE

    public static final String SUBSTITUTE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### SubstitutionElement

    public SubstitutionElement()

- ## Method Details

  - ### getRegex

    public String getRegex()

  - ### setRegex

    public void setRegex(String regex)

  - ### getSubstitute

    public String getSubstitute()

  - ### setSubstitute

    public void setSubstitute(String sub)