Method from org.apache.jmeter.report.engine.ValueReplacer Detail: |
public void addVariable(String name,
String value) {
variables.put(name, value);
}
|
public void addVariables(Map vars) {
variables.putAll(vars);
}
Add all the given variables to this replacer's variables map. |
public void replaceValues(TestElement el) throws InvalidVariableException {
/**
Collection newProps = replaceValues(el.propertyIterator(), new ReplaceStringWithFunctions(masterFunction,
variables));
setProperties(el, newProps);
**/
}
|
public void reverseReplace(TestElement el) throws InvalidVariableException {
/**
Collection newProps = replaceValues(el.propertyIterator(), new ReplaceFunctionsWithStrings(masterFunction,
variables));
setProperties(el, newProps);
**/
}
|
public void reverseReplace(TestElement el,
boolean regexMatch) throws InvalidVariableException {
/**
Collection newProps = replaceValues(el.propertyIterator(), new ReplaceFunctionsWithStrings(masterFunction,
variables, regexMatch));
setProperties(el, newProps);
**/
}
|
public void setUserDefinedVariables(Map variables) {
this.variables = variables;
}
|
public void undoReverseReplace(TestElement el) throws InvalidVariableException {
/**
Collection newProps = replaceValues(el.propertyIterator(), new UndoVariableReplacement(masterFunction,
variables));
setProperties(el, newProps);
**/
}
|