|
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.MapProperty
public class MapProperty
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
|---|
log |
| Constructor Summary | |
|---|---|
MapProperty()
|
|
MapProperty(String name,
Map<?,?> value)
|
|
| Method Summary | |
|---|---|
void |
addProperty(JMeterProperty prop)
Add a property to the collection. |
void |
addProperty(String name,
JMeterProperty prop)
|
void |
clear()
Clear away all values in the property. |
MapProperty |
clone()
|
boolean |
equals(Object o)
Determines if the two objects are equal by comparing names and values |
JMeterProperty |
get(String key)
|
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 |
setMap(Map<?,?> newMap)
|
void |
setObjectValue(Object v)
|
void |
setRunningVersion(boolean running)
Make the property a running version or turn it off as the running version. |
PropertyIterator |
valueIterator()
|
| 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 MapProperty(String name,
Map<?,?> value)
public MapProperty()
| Method Detail |
|---|
public boolean equals(Object o)
equals in class AbstractPropertypublic int hashCode()
AbstractProperty
hashCode in class AbstractPropertypublic void setObjectValue(Object v)
public void addProperty(JMeterProperty prop)
addProperty in class MultiPropertyprop - the JMeterProperty to addpublic JMeterProperty get(String key)
protected Class<? extends JMeterProperty> getPropertyType()
getPropertyType in class AbstractPropertyAbstractProperty.getPropertyType()public String getStringValue()
public Object getObjectValue()
public MapProperty clone()
clone in interface JMeterPropertyclone in class AbstractPropertypublic PropertyIterator valueIterator()
public void addProperty(String name,
JMeterProperty prop)
public void setMap(Map<?,?> newMap)
public void recoverRunningVersion(TestElement owner)
owner - the owning elementpublic void clear()
clear in class MultiPropertypublic PropertyIterator iterator()
iterator in class MultiPropertypublic void setRunningVersion(boolean running)
setRunningVersion in interface JMeterPropertysetRunningVersion in class MultiPropertyrunning - flag whether this property is a running version
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||