Class CollectionProperty
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
,java.lang.Iterable
,org.apache.jmeter.testelement.property.JMeterProperty
public class CollectionProperty extends MultiProperty
-
-
Constructor Summary
Constructors Constructor Description CollectionProperty(String name, Collection<out Object> value)
CollectionProperty()
-
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
remove(String prop)
void
set(int index, String prop)
void
set(int index, JMeterProperty prop)
JMeterProperty
get(int row)
void
remove(int index)
void
setObjectValue(Object v)
PropertyIterator
iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty. String
getStringValue()
Object
getObjectValue()
int
size()
boolean
isEmpty()
CollectionProperty
clone()
void
setCollection(Collection<out Object> coll)
void
clear()
Clear away all values in the property. void
addProperty(JMeterProperty prop)
Add a property to the collection. void
addItem(Object item)
void
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. 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
-
-
Constructor Detail
-
CollectionProperty
CollectionProperty(String name, Collection<out Object> value)
-
CollectionProperty
CollectionProperty()
-
-
Method Detail
-
equals
boolean equals(Object o)
Determines if the two objects are equal by comparing names and values
- Returns:
true if names are equal and values are equal (or both null)
-
hashCode
int hashCode()
-
set
void set(int index, JMeterProperty prop)
-
get
JMeterProperty get(int row)
-
remove
void remove(int index)
-
setObjectValue
void setObjectValue(Object v)
-
iterator
PropertyIterator iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty.
-
getStringValue
String getStringValue()
-
getObjectValue
Object getObjectValue()
-
size
int size()
-
isEmpty
boolean isEmpty()
-
clone
CollectionProperty clone()
-
setCollection
void setCollection(Collection<out Object> coll)
-
clear
void clear()
Clear away all values in the property.
-
addProperty
void addProperty(JMeterProperty prop)
Add a property to the collection.
-
recoverRunningVersion
void recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called.
-
setRunningVersion
void setRunningVersion(boolean running)
-
-
-
-