org.apache.jmeter.testelement.property

Class FunctionProperty

Implemented Interfaces:
Cloneable, Comparable, JMeterProperty, Serializable

public class FunctionProperty
extends AbstractProperty

Class that implements the Function property

Field Summary

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

log

Constructor Summary

FunctionProperty()
FunctionProperty(String name, CompoundVariable func)

Method Summary

Object
clone()
boolean
equals(Object o)
Object
getObjectValue()
String
getStringValue()
Executes the function (and caches the value for the duration of the test iteration) if the property is a running version.
void
recoverRunningVersion(TestElement owner)
void
setObjectValue(Object v)

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

FunctionProperty

public FunctionProperty()

FunctionProperty

public FunctionProperty(String name,
                        CompoundVariable func)

Method Details

clone

public Object clone()
Specified by:
clone in interface JMeterProperty
Overrides:
clone in interface AbstractProperty

equals

public boolean equals(Object o)
Overrides:
equals in interface AbstractProperty

getObjectValue

public Object getObjectValue()
Specified by:
getObjectValue in interface JMeterProperty

getStringValue

public String getStringValue()
Executes the function (and caches the value for the duration of the test iteration) if the property is a running version. Otherwise, the raw string representation of the function is provided.
Specified by:
getStringValue in interface JMeterProperty

recoverRunningVersion

public void recoverRunningVersion(TestElement owner)
Specified by:
recoverRunningVersion in interface JMeterProperty

setObjectValue

public void setObjectValue(Object v)
Specified by:
setObjectValue in interface JMeterProperty

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