|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.property.AbstractProperty org.apache.jmeter.testelement.property.MultiProperty org.apache.jmeter.testelement.property.TestElementProperty
public class TestElementProperty
Field Summary |
---|
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
---|
log |
Constructor Summary | |
---|---|
TestElementProperty()
|
|
TestElementProperty(String name,
TestElement value)
|
Method Summary | |
---|---|
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. For most property types, this will simply be ignored. But for collection properties and test element properties, more complex behavior is required. |
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. 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. |
Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty |
---|
recoverRunningVersionOfSubElements |
Methods 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, normalizeList, normalizeMap, setName, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestElementProperty(String name, TestElement value)
public TestElementProperty()
Method Detail |
---|
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
public void recoverRunningVersion(TestElement owner)
public void setRunningVersion(boolean runningVersion)
setRunningVersion
in interface JMeterProperty
setRunningVersion
in class MultiProperty
public void addProperty(JMeterProperty prop)
addProperty
in class MultiProperty
public void clear()
clear
in class MultiProperty
public PropertyIterator iterator()
iterator
in class MultiProperty
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |