Overview | Package | Class | Tree | Deprecated | Index | Help
| Apache JMeter
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.jmeter.engine.util
Class ReplaceStringWithFunctions

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

    public class ReplaceStringWithFunctions

extends Object

Constructor Summary
`ReplaceStringWithFunctions(CompoundVariable masterFunction, Map<String,String> variables)`

Method Summary
`protected CompoundVariable` | `getMasterFunction()`
`Map<String,String>` | `getVariables()`
`void` | `setMasterFunction(CompoundVariable variable)` Set the master function for the value transformer.
`void` | `setVariables(Map<String,String> map)` Set the variable names and values used to reverse replace functions with strings, and undo functions to raw values.
`JMeterProperty` | `transformValue(JMeterProperty prop)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ReplaceStringWithFunctions

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

Method Detail

### transformValue

    public JMeterProperty transformValue(JMeterProperty prop)
                                  throws InvalidVariableException

  Throws:
    `InvalidVariableException`

### setMasterFunction

    public void setMasterFunction(CompoundVariable variable)

  Set the master function for the value transformer. This handles converting strings to functions.

### getMasterFunction

    protected CompoundVariable getMasterFunction()

### getVariables

    public Map<String,String> getVariables()

### setVariables

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

  Set the variable names and values used to reverse replace functions with strings, and undo functions to raw values.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Apache JMeter
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.