org.apache.jmeter.engine.util

Class ReplaceFunctionsWithStrings

Implemented Interfaces:
org.apache.jmeter.engine.util.ValueTransformer

public class ReplaceFunctionsWithStrings
extends org.apache.jmeter.engine.util.AbstractTransformer

Transforms strings into variable references (in spite of the name, which suggests the opposite!)

Field Summary

Fields inherited from class org.apache.jmeter.engine.util.AbstractTransformer

masterFunction, variables

Constructor Summary

ReplaceFunctionsWithStrings(CompoundVariable masterFunction, Map variables)
ReplaceFunctionsWithStrings(CompoundVariable masterFunction, Map variables, boolean regexMatch)

Method Summary

JMeterProperty
transformValue(JMeterProperty prop)

Methods inherited from class org.apache.jmeter.engine.util.AbstractTransformer

getMasterFunction, getVariables, setMasterFunction, setVariables

Constructor Details

ReplaceFunctionsWithStrings

public ReplaceFunctionsWithStrings(CompoundVariable masterFunction,
                                   Map variables)

ReplaceFunctionsWithStrings

public ReplaceFunctionsWithStrings(CompoundVariable masterFunction,
                                   Map variables,
                                   boolean regexMatch)

Method Details

transformValue

public JMeterProperty transformValue(JMeterProperty prop)
            throws InvalidVariableException
Specified by:
transformValue in interface org.apache.jmeter.engine.util.ValueTransformer

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