| 
 | Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.engine.util.CompoundVariable
public class CompoundVariable
CompoundFunction.
| Constructor Summary | |
|---|---|
| CompoundVariable() | |
| CompoundVariable(String parameters) | |
| Method Summary | |
|---|---|
|  void | clear() | 
|  String | execute() | 
|  String | execute(SampleResult previousResult,
        Sampler currentSampler)Given the previous SampleResult and the current Sampler, return a string to use as a replacement value for the function call. | 
|  List<String> | getArgumentDesc()Return a list of strings briefly describing each parameter your function takes. | 
|  CompoundVariable | getFunction() | 
| static Class<? extends Function> | getFunctionClass(String className) | 
| static String[] | getFunctionNames() | 
|  String | getRawParameters()Allows the retrieval of the original String prior to it being compiled. | 
|  String | getReferenceKey()Return the name of your function. | 
|  boolean | hasFunction() | 
|  void | setParameters(Collection<CompoundVariable> parameters)A collection of the parameters used to configure your function. | 
|  void | setParameters(String parameters) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CompoundVariable()
public CompoundVariable(String parameters)
| Method Detail | 
|---|
public String execute()
public String getRawParameters()
public String execute(SampleResult previousResult,
                      Sampler currentSampler)
execute in interface Functionpublic CompoundVariable getFunction()
public List<String> getArgumentDesc()
getArgumentDesc in interface Functionpublic void clear()
public void setParameters(String parameters)
                   throws InvalidVariableException
InvalidVariableExceptionpublic static Class<? extends Function> getFunctionClass(String className)
public static String[] getFunctionNames()
public boolean hasFunction()
public String getReferenceKey()
getReferenceKey in interface Function
public void setParameters(Collection<CompoundVariable> parameters)
                   throws InvalidVariableException
setParameters in interface FunctionInvalidVariableException| 
 | Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||