Class FunctionProperty
java.lang.Object
org.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.FunctionProperty
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<JMeterProperty>,JMeterProperty
Class that implements the Function property
- See Also:
-
Field Summary
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanDetermines if the two objects are equal by comparing names and valuesExecutes the function (and caches the value for the duration of the test iteration) if the property is a running version.inthashCode()voidrecoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Tell the property to revert to the state at the time setRunningVersion(true) was called.voidMethods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString
-
Constructor Details
-
FunctionProperty
-
FunctionProperty
public FunctionProperty()
-
-
Method Details
-
setObjectValue
-
equals
Description copied from class:AbstractPropertyDetermines if the two objects are equal by comparing names and values- Overrides:
equalsin classAbstractProperty- Returns:
- true if names are equal and values are equal (or both null)
-
hashCode
public int hashCode()Description copied from class:AbstractProperty- Overrides:
hashCodein classAbstractProperty
-
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.- See Also:
-
getObjectValue
- See Also:
-
clone
Description copied from class:AbstractProperty- Specified by:
clonein interfaceJMeterProperty- Overrides:
clonein classAbstractProperty
-
recoverRunningVersion
public void recoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Description copied from interface:JMeterPropertyTell the property to revert to the state at the time setRunningVersion(true) was called.- Parameters:
owner- the owning element- See Also:
-