|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.MultiProperty
org.apache.jmeter.testelement.property.CollectionProperty
public class CollectionProperty
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
|---|
log |
| Constructor Summary | |
|---|---|
CollectionProperty()
|
|
CollectionProperty(String name,
Collection<?> value)
|
|
| Method Summary | |
|---|---|
void |
addItem(Object item)
|
void |
addProperty(JMeterProperty prop)
Add a property to the collection. |
void |
clear()
Clear away all values in the property. |
CollectionProperty |
clone()
|
boolean |
equals(Object o)
Determines if the two objects are equal by comparing names and values |
JMeterProperty |
get(int row)
|
Object |
getObjectValue()
|
protected Class<? extends JMeterProperty> |
getPropertyType()
Figures out what kind of properties this collection is holding and returns the class type. |
String |
getStringValue()
|
int |
hashCode()
|
PropertyIterator |
iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty. |
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. |
void |
remove(int index)
|
void |
remove(String prop)
|
void |
set(int index,
JMeterProperty prop)
|
void |
set(int index,
String prop)
|
void |
setCollection(Collection<?> coll)
|
void |
setObjectValue(Object v)
|
void |
setRunningVersion(boolean running)
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. |
int |
size()
|
| Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty |
|---|
mergeIn, recoverRunningVersionOfSubElements |
| Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
|---|
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionProperty(String name,
Collection<?> value)
public CollectionProperty()
| Method Detail |
|---|
public boolean equals(Object o)
AbstractProperty
equals in class AbstractPropertypublic int hashCode()
AbstractProperty
hashCode in class AbstractPropertypublic void remove(String prop)
public void set(int index,
String prop)
public void set(int index,
JMeterProperty prop)
public JMeterProperty get(int row)
public void remove(int index)
public void setObjectValue(Object v)
public PropertyIterator iterator()
iterator in class MultiPropertypublic String getStringValue()
public Object getObjectValue()
public int size()
public CollectionProperty clone()
clone in interface JMeterPropertyclone in class AbstractPropertypublic void setCollection(Collection<?> coll)
public void clear()
clear in class MultiPropertypublic void addProperty(JMeterProperty prop)
addProperty in class MultiPropertypublic void addItem(Object item)
protected Class<? extends JMeterProperty> getPropertyType()
getPropertyType in class AbstractPropertyAbstractProperty.getPropertyType()public void recoverRunningVersion(TestElement owner)
public void setRunningVersion(boolean running)
setRunningVersion in interface JMeterPropertysetRunningVersion in class MultiProperty
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||