public class ObjectProperty extends AbstractProperty
log| Constructor and Description |
|---|
ObjectProperty()
Default constructor.
|
ObjectProperty(String name)
Constructs an instance with
name as its name and a
null value. |
ObjectProperty(String name,
Object p)
Constructs an instance with
name as its name and the given
value. |
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty |
clone() |
Object |
getObjectValue() |
String |
getStringValue() |
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time
setRunningVersion(true) was called.
|
void |
setObjectValue(Object value) |
void |
setRunningVersion(boolean runningVersion)
Make the property a running version or turn it off as the running
version.
|
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toStringpublic ObjectProperty()
ObjectProperty with no name
and a null valuepublic ObjectProperty(String name)
name as its name and a
null value.name - the name of this propertypublic void recoverRunningVersion(TestElement owner)
owner - the owning elementpublic void setRunningVersion(boolean runningVersion)
setRunningVersion in interface JMeterPropertysetRunningVersion in class AbstractPropertyrunningVersion - flag whether this property is a running versionpublic ObjectProperty clone()
clone in interface JMeterPropertyclone in class AbstractPropertypublic String getStringValue()
public Object getObjectValue()
public void setObjectValue(Object value)
Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.