Class MapProperty
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
,java.lang.Iterable
,org.apache.jmeter.testelement.property.JMeterProperty
public class MapProperty extends MultiProperty
-
-
Constructor Summary
Constructors Constructor Description MapProperty(String name, Map<out Object, out Object> value)
MapProperty()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
Determines if the two objects are equal by comparing names and values int
hashCode()
void
setObjectValue(Object v)
void
addProperty(JMeterProperty prop)
Add a property to the collection. JMeterProperty
get(String key)
String
getStringValue()
Object
getObjectValue()
MapProperty
clone()
PropertyIterator
valueIterator()
void
addProperty(String name, JMeterProperty prop)
void
setMap(Map<out Object, out Object> newMap)
void
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. void
clear()
Clear away all values in the property. PropertyIterator
iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty. void
setRunningVersion(boolean running)
-
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, createProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getName, isRunningVersion, setName, setRunningVersion, toString
-
Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty
mergeIn
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class org.apache.jmeter.testelement.property.JMeterProperty
clone
-
Methods inherited from class java.lang.Comparable
compareTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
equals
boolean equals(Object o)
Determines if the two objects are equal by comparing names and values
-
hashCode
int hashCode()
-
setObjectValue
void setObjectValue(Object v)
-
addProperty
void addProperty(JMeterProperty prop)
Add a property to the collection.
-
get
JMeterProperty get(String key)
-
getStringValue
String getStringValue()
-
getObjectValue
Object getObjectValue()
-
clone
MapProperty clone()
-
valueIterator
PropertyIterator valueIterator()
-
addProperty
void addProperty(String name, JMeterProperty prop)
-
recoverRunningVersion
void recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called.
-
clear
void clear()
Clear away all values in the property.
-
iterator
PropertyIterator iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty.
-
setRunningVersion
void setRunningVersion(boolean running)
-
-
-
-