public class TestElementProperty extends MultiProperty
log
Constructor and Description |
---|
TestElementProperty() |
TestElementProperty(String name,
TestElement value) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(JMeterProperty prop)
Add a property to the collection.
|
void |
clear()
Clear away all values in the property.
|
TestElementProperty |
clone() |
boolean |
equals(Object o)
Determines if two test elements are equal.
|
TestElement |
getElement() |
Object |
getObjectValue() |
String |
getStringValue() |
int |
hashCode() |
PropertyIterator |
iterator()
Get the property iterator to iterate through the sub-values of this
JMeterProperty.
|
void |
mergeIn(JMeterProperty prop)
Take the given property object and merge it's value with the current
property object.
|
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time
setRunningVersion(true) was called.
|
void |
setElement(TestElement el) |
void |
setObjectValue(Object v) |
void |
setRunningVersion(boolean runningVersion)
Make the property a running version or turn it off as the running
version.
|
recoverRunningVersionOfSubElements
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TestElementProperty(String name, TestElement value)
public TestElementProperty()
public boolean equals(Object o)
equals
in class AbstractProperty
public int hashCode()
AbstractProperty
hashCode
in class AbstractProperty
public String getStringValue()
public void setObjectValue(Object v)
public Object getObjectValue()
public TestElement getElement()
public void setElement(TestElement el)
public TestElementProperty clone()
clone
in interface JMeterProperty
clone
in class AbstractProperty
public void mergeIn(JMeterProperty prop)
mergeIn
in interface JMeterProperty
mergeIn
in class MultiProperty
prop
- the property object to merge into this propertypublic void recoverRunningVersion(TestElement owner)
owner
- the owning elementpublic void setRunningVersion(boolean runningVersion)
setRunningVersion
in interface JMeterProperty
setRunningVersion
in class MultiProperty
runningVersion
- flag whether this property is a running versionpublic void addProperty(JMeterProperty prop)
addProperty
in class MultiProperty
prop
- the JMeterProperty
to addpublic void clear()
clear
in class MultiProperty
public PropertyIterator iterator()
iterator
in interface Iterable<JMeterProperty>
iterator
in class MultiProperty
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.