Class StringProperty
java.lang.Object
org.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.StringProperty
- All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
- Version:
- $Revision: 1413956 $
- See Also:
-
Field Summary
Fields inherited from class AbstractProperty
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidrecoverRunningVersion(TestElement owner) Tell the property to revert to the state at the time setRunningVersion(true) was called.voidvoidsetRunningVersion(boolean runningVersion) Make the property a running version or turn it off as the running version.voidSets the value.Methods inherited from class AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
-
Constructor Details
-
StringProperty
-
StringProperty
public StringProperty()
-
-
Method Details
-
setRunningVersion
public void setRunningVersion(boolean runningVersion) Description copied from class:AbstractPropertyMake 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 interfaceJMeterProperty- Overrides:
setRunningVersionin classAbstractProperty- Parameters:
runningVersion- flag whether this property is a running version- See Also:
-
setObjectValue
-
getStringValue
- See Also:
-
getObjectValue
- See Also:
-
clone
- Specified by:
clonein interfaceJMeterProperty- Overrides:
clonein classAbstractProperty
-
setValue
-
recoverRunningVersion
Tell the property to revert to the state at the time setRunningVersion(true) was called.- Parameters:
owner- the owning element
-