Interface JMeterProperty

All Superinterfaces:
Cloneable, Comparable<JMeterProperty>, Serializable
All Known Implementing Classes:
AbstractProperty, BooleanProperty, CollectionProperty, DoubleProperty, FloatProperty, FunctionProperty, IntegerProperty, LongProperty, MapProperty, MultiProperty, NullProperty, NumberProperty, ObjectProperty, StringProperty, TestElementProperty

public interface JMeterProperty extends Serializable, Cloneable, Comparable<JMeterProperty>
  • Method Details

    • isRunningVersion

      boolean isRunningVersion()
      Returns whether the property is a running version.
      flag whether this property is a running version
    • getName

      String getName()
      The name of the property. Typically this should match the name that keys the property's location in the test elements Map.
      the name of the property
    • setName

      void setName(String name)
      Set the property name.
      name - the name of the property
    • setRunningVersion

      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.
      runningVersion - flag whether this property is a running version
    • recoverRunningVersion

      void recoverRunningVersion(org.apache.jmeter.testelement.TestElement owner)
      Tell the property to revert to the state at the time setRunningVersion(true) was called.
      owner - the owning element
    • mergeIn

      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.
      prop - the property object to merge into this property
    • getIntValue

      int getIntValue()
    • getLongValue

      long getLongValue()
    • getDoubleValue

      double getDoubleValue()
    • getFloatValue

      float getFloatValue()
    • getBooleanValue

      boolean getBooleanValue()
    • getStringValue

      String getStringValue()
    • getObjectValue

      Object getObjectValue()
    • setObjectValue

      void setObjectValue(Object value)
    • clone