Apache JMeter

org.apache.jmeter.report.engine
Class ValueReplacer

java.lang.Object
  extended by org.apache.jmeter.report.engine.ValueReplacer

public class ValueReplacer
extends java.lang.Object


Constructor Summary
ValueReplacer()
           
ValueReplacer(ReportPlan tp)
           
 
Method Summary
 void addVariable(java.lang.String name, java.lang.String value)
           
 void addVariables(java.util.Map vars)
          Add all the given variables to this replacer's variables map.
 void replaceValues(TestElement el)
           
 void reverseReplace(TestElement el)
           
 void reverseReplace(TestElement el, boolean regexMatch)
           
 void setUserDefinedVariables(java.util.Map variables)
           
 void undoReverseReplace(TestElement el)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueReplacer

public ValueReplacer()

ValueReplacer

public ValueReplacer(ReportPlan tp)
Method Detail

setUserDefinedVariables

public void setUserDefinedVariables(java.util.Map variables)

replaceValues

public void replaceValues(TestElement el)
                   throws InvalidVariableException
Throws:
InvalidVariableException - not thrown currently

reverseReplace

public void reverseReplace(TestElement el)
                    throws InvalidVariableException
Throws:
InvalidVariableException - not thrown currently

reverseReplace

public void reverseReplace(TestElement el,
                           boolean regexMatch)
                    throws InvalidVariableException
Throws:
InvalidVariableException - not thrown currently

undoReverseReplace

public void undoReverseReplace(TestElement el)
                        throws InvalidVariableException
Throws:
InvalidVariableException - not thrown currently

addVariable

public void addVariable(java.lang.String name,
                        java.lang.String value)

addVariables

public void addVariables(java.util.Map vars)
Add all the given variables to this replacer's variables map.

Parameters:
vars - A map of variable name-value pairs (String-to-String).

Apache JMeter

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