Interface JMeterProperty
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
public interface JMeterProperty implements Serializable, Cloneable, Comparable<T>
-
-
Method Summary
Modifier and Type Method Description abstract boolean
isRunningVersion()
Returns whether the property is a running version. abstract String
getName()
The name of the property. abstract void
setName(String name)
Set the property name. abstract void
setRunningVersion(boolean runningVersion)
Make the property a running version or turn it off as the running version. abstract void
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. abstract void
mergeIn(JMeterProperty prop)
Take the given property object and merge it's value with the current property object. abstract int
getIntValue()
abstract long
getLongValue()
abstract double
getDoubleValue()
abstract float
getFloatValue()
abstract boolean
getBooleanValue()
abstract String
getStringValue()
abstract Object
getObjectValue()
abstract void
setObjectValue(Object value)
abstract JMeterProperty
clone()
-
-
Method Detail
-
isRunningVersion
abstract boolean isRunningVersion()
Returns whether the property is a running version.
- Returns:
flag whether this property is a running version
-
getName
abstract String getName()
The name of the property. Typically this should match the name that keys the property's location in the test elements Map.
- Returns:
the name of the property
-
setName
abstract void setName(String name)
Set the property name.
- Parameters:
name
- the name of the property
-
setRunningVersion
abstract void setRunningVersion(boolean runningVersion)
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.
- Parameters:
runningVersion
- flag whether this property is a running version
-
recoverRunningVersion
abstract void recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called.
- Parameters:
owner
- the owning element
-
mergeIn
abstract void mergeIn(JMeterProperty prop)
Take the given property object and merge it's value with the current property object. For most property types, this will simply be ignored. But for collection properties and test element properties, more complex behavior is required.
- Parameters:
prop
- the property object to merge into this property
-
getIntValue
abstract int getIntValue()
-
getLongValue
abstract long getLongValue()
-
getDoubleValue
abstract double getDoubleValue()
-
getFloatValue
abstract float getFloatValue()
-
getBooleanValue
abstract boolean getBooleanValue()
-
getStringValue
abstract String getStringValue()
-
getObjectValue
abstract Object getObjectValue()
-
setObjectValue
abstract void setObjectValue(Object value)
-
clone
abstract JMeterProperty clone()
-
-
-
-