Class ObjectProperty
java.lang.Object
org.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.ObjectProperty
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<JMeterProperty>,- JMeterProperty
- See Also:
- 
Field SummaryFields inherited from class org.apache.jmeter.testelement.property.AbstractPropertylog
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor.ObjectProperty(String name) Constructs an instance withnameas its name and anullvalue.ObjectProperty(String name, Object p) Constructs an instance withnameas its name and the given value.
- 
Method SummaryModifier and TypeMethodDescriptionclone()voidrecoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Tell the property to revert to the state at the time setRunningVersion(true) was called.voidsetObjectValue(Object value) voidsetRunningVersion(boolean runningVersion) Make the property a running version or turn it off as the running version.Methods inherited from class org.apache.jmeter.testelement.property.AbstractPropertycompareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
- 
Constructor Details- 
ObjectPropertypublic ObjectProperty()Default constructor. Constructs anObjectPropertywith no name and anullvalue
- 
ObjectPropertyConstructs an instance withnameas its name and anullvalue.- Parameters:
- name- the name of this property
 
- 
ObjectPropertyConstructs an instance withnameas its name and the given value.- Parameters:
- name- the name of this property
- p- the value for this property
 
 
- 
- 
Method Details- 
recoverRunningVersionpublic void recoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Tell the property to revert to the state at the time setRunningVersion(true) was called.- Parameters:
- owner- the owning element
 
- 
setRunningVersionpublic void setRunningVersion(boolean runningVersion) Make the property a running version or turn it off as the running version. A property that is made a running version will preserve the current state in such a way that it is retrievable by a future call to 'recoverRunningVersion()'. Additionally, a property that is a running version will resolve all functions prior to returning it's property value. A non-running version property will return functions as their uncompiled string representation.- Specified by:
- setRunningVersionin interface- JMeterProperty
- Overrides:
- setRunningVersionin class- AbstractProperty
- Parameters:
- runningVersion- flag whether this property is a running version
 
- 
clone- Specified by:
- clonein interface- JMeterProperty
- Overrides:
- clonein class- AbstractProperty
 
- 
getStringValue
- 
getObjectValue
- 
setObjectValue
 
-