org.apache.jmeter.testelement.property

Class MultiProperty

Implemented Interfaces:
Cloneable, Comparable, JMeterProperty, Serializable
Known Direct Subclasses:
CollectionProperty, MapProperty, TestElementProperty

public abstract class MultiProperty
extends AbstractProperty

For JMeterProperties that hold multiple properties within, provides a simple interface for retrieving a property iterator for the sub values.
Version:
$Revision: 674365 $

Field Summary

Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty

log

Constructor Summary

MultiProperty()
MultiProperty(String name)

Method Summary

abstract void
addProperty(JMeterProperty prop)
Add a property to the collection.
abstract void
clear()
Clear away all values in the property.
abstract PropertyIterator
iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty.
void
mergeIn(JMeterProperty prop)
protected void
recoverRunningVersionOfSubElements(TestElement owner)
void
setRunningVersion(boolean running)

Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty

clone, compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString

Constructor Details

MultiProperty

public MultiProperty()

MultiProperty

public MultiProperty(String name)

Method Details

addProperty

public abstract void addProperty(JMeterProperty prop)
Add a property to the collection.

clear

public abstract void clear()
Clear away all values in the property.

iterator

public abstract PropertyIterator iterator()
Get the property iterator to iterate through the sub-values of this JMeterProperty.
Returns:
an iterator for the sub-values of this property

mergeIn

public void mergeIn(JMeterProperty prop)
Specified by:
mergeIn in interface JMeterProperty
Overrides:
mergeIn in interface AbstractProperty

recoverRunningVersionOfSubElements

protected void recoverRunningVersionOfSubElements(TestElement owner)

setRunningVersion

public void setRunningVersion(boolean running)
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in interface AbstractProperty

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.