Class FunctionProperty
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
,org.apache.jmeter.testelement.property.JMeterProperty
public class FunctionProperty extends AbstractProperty
Class that implements the Function property
-
-
Constructor Summary
Constructors Constructor Description FunctionProperty(String name, CompoundVariable func)
FunctionProperty()
-
Method Summary
Modifier and Type Method Description void
setObjectValue(Object v)
boolean
equals(Object o)
Determines if the two objects are equal by comparing names and values int
hashCode()
String
getStringValue()
Executes the function (and caches the value for the duration of the test iteration) if the property is a running version. Object
getObjectValue()
FunctionProperty
clone()
void
recoverRunningVersion(TestElement owner)
-
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, createProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getName, isRunningVersion, mergeIn, setName, setRunningVersion, toString
-
Methods inherited from class org.apache.jmeter.testelement.property.JMeterProperty
clone
-
Methods inherited from class java.lang.Comparable
compareTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FunctionProperty
FunctionProperty(String name, CompoundVariable func)
-
FunctionProperty
FunctionProperty()
-
-
Method Detail
-
setObjectValue
void setObjectValue(Object v)
-
equals
boolean equals(Object o)
Determines if the two objects are equal by comparing names and values
- Returns:
true if names are equal and values are equal (or both null)
-
hashCode
int hashCode()
-
getStringValue
String getStringValue()
Executes the function (and caches the value for the duration of the test iteration) if the property is a running version. Otherwise, the raw string representation of the function is provided.
-
getObjectValue
Object getObjectValue()
-
clone
FunctionProperty clone()
-
recoverRunningVersion
void recoverRunningVersion(TestElement owner)
-
-
-
-