Apache JMeter
1.9

org.apache.jmeter.testelement.property
Class FunctionProperty

java.lang.Object
  |
  +--org.apache.jmeter.testelement.property.AbstractProperty
        |
        +--org.apache.jmeter.testelement.property.FunctionProperty
All Implemented Interfaces:
Cloneable, Comparable, JMeterProperty, Serializable

public class FunctionProperty
extends AbstractProperty

Version:
$Revision: 1.11 $
See Also:
Serialized Form

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)
          Tell the property to revert to the state at the time setRunningVersion(true) was called.
 void setObjectValue(Object v)
           
 
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
clearTemporary, compareTo, convertObject, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getName, getPropertyType, isEqualType, isRunningVersion, isTemporary, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, setTemporary, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionProperty

public FunctionProperty(String name,
                        CompoundVariable func)

FunctionProperty

public FunctionProperty()
Method Detail

setObjectValue

public void setObjectValue(Object v)

equals

public boolean equals(Object o)
Specified by:
equals in interface JMeterProperty
Overrides:
equals in class AbstractProperty

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.

See Also:
JMeterProperty.getStringValue()

getObjectValue

public Object getObjectValue()
See Also:
JMeterProperty.getObjectValue()

clone

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

recoverRunningVersion

public void recoverRunningVersion(TestElement owner)
Description copied from interface: JMeterProperty
Tell the property to revert to the state at the time setRunningVersion(true) was called.

Specified by:
recoverRunningVersion in interface JMeterProperty
Overrides:
recoverRunningVersion in class AbstractProperty
See Also:
JMeterProperty.recoverRunningVersion(TestElement)

Apache JMeter
1.9

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