Package org.apache.jmeter.engine.util

# Class UndoVariableReplacement

java.lang.Object
org.apache.jmeter.engine.util.UndoVariableReplacement

All Implemented Interfaces:
  `org.apache.jmeter.engine.util.PropertyTransformer`

public class UndoVariableReplacement extends Object
Replaces ${key} by value extracted from `JMeterVariables` if any

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UndoVariableReplacement(CompoundVariable masterFunction, Map<String,String> variables)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected CompoundVariable`
  `getMasterFunction()`
  `Map<String,String>`
  `getVariables()`
  `void`
  `setMasterFunction(CompoundVariable variable)`
  `void`
  `setVariables(Map<String,String> map)`
  `default JMeterProperty`
  `transform(JMeterProperty input)`
  Deprecated.
  `JMeterProperty`
  `transformValue(JMeterProperty prop)`

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

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UndoVariableReplacement

    public UndoVariableReplacement(CompoundVariable masterFunction, Map<String,String> variables)

- ## Method Details

  - ### transformValue

    public JMeterProperty transformValue(JMeterProperty prop) throws InvalidVariableException
    Throws:
      `InvalidVariableException`

  - ### setMasterFunction

    public void setMasterFunction(CompoundVariable variable)

  - ### getMasterFunction

    protected CompoundVariable getMasterFunction()

  - ### getVariables

    public Map<String,String> getVariables()

  - ### setVariables

    public void setVariables(Map<String,String> map)

  - ### transform

    default JMeterProperty transform(JMeterProperty input)
    Deprecated.
    Specified by:
      `transform` in interface `org.apache.jmeter.engine.util.PropertyTransformer`