Save This Page
Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.functions » [javadoc | source]
org.apache.jmeter.functions
abstract public class: AbstractFunction [javadoc | source]
java.lang.Object
   org.apache.jmeter.functions.AbstractFunction

All Implemented Interfaces:
    Function

Provides common methods for all functions
Method from org.apache.jmeter.functions.AbstractFunction Summary:
checkMinParameterCount,   checkParameterCount,   checkParameterCount,   execute,   execute,   getReferenceKey,   getVariables,   setParameters
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.functions.AbstractFunction Detail:
 protected  void checkMinParameterCount(Collection parameters,
    int minimum) throws InvalidVariableException 
    Utility method to check parameter counts.
 protected  void checkParameterCount(Collection parameters,
    int count) throws InvalidVariableException 
    Utility method to check parameter counts.
 protected  void checkParameterCount(Collection parameters,
    int min,
    int max) throws InvalidVariableException 
    Utility method to check parameter counts.
 public String execute() throws InvalidVariableException 
 abstract public String execute(SampleResult previousResult,
    Sampler currentSampler) throws InvalidVariableException

    N.B. setParameters() and execute() are called from different threads, so both must be synchronized unless there are no parameters to save

 abstract public String getReferenceKey()
 protected JMeterVariables getVariables() 
 abstract public  void setParameters(Collection parameters) throws InvalidVariableException

    N.B. setParameters() and execute() are called from different threads, so both must be synchronized unless there are no parameters to save