public class ValueReplacer extends Object
Constructor and Description |
---|
ValueReplacer() |
ValueReplacer(ReportPlan tp) |
Modifier and Type | Method and Description |
---|---|
void |
addVariable(String name,
String value) |
void |
addVariables(Map<String,String> 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(Map<String,String> variables) |
void |
undoReverseReplace(TestElement el) |
public ValueReplacer()
public ValueReplacer(ReportPlan tp)
public void replaceValues(TestElement el) throws InvalidVariableException
InvalidVariableException
- not thrown currentlypublic void reverseReplace(TestElement el) throws InvalidVariableException
InvalidVariableException
- not thrown currentlypublic void reverseReplace(TestElement el, boolean regexMatch) throws InvalidVariableException
InvalidVariableException
- not thrown currentlypublic void undoReverseReplace(TestElement el) throws InvalidVariableException
InvalidVariableException
- not thrown currentlyCopyright © 1998-2012 Apache Software Foundation. All Rights Reserved.