public final class NullProperty extends AbstractProperty
log| Constructor and Description |
|---|
NullProperty() |
NullProperty(String name) |
| Modifier and Type | Method and Description |
|---|---|
NullProperty |
clone() |
boolean |
getBooleanValue()
Returns false if string is invalid or null.
|
double |
getDoubleValue()
Returns 0 if string is invalid or null.
|
float |
getFloatValue()
Returns 0 if string is invalid or null.
|
int |
getIntValue()
Returns 0 if string is invalid or null.
|
long |
getLongValue()
Returns 0 if string is invalid or null.
|
Object |
getObjectValue() |
String |
getStringValue() |
boolean |
isRunningVersion()
Returns whether the property is a running version.
|
void |
mergeIn(JMeterProperty prop)
Take the given property object and merge it's value with the current
property object.
|
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time
setRunningVersion(true) was called.
|
void |
setObjectValue(Object v) |
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, makeProperty, normalizeList, normalizeMap, setName, setRunningVersion, toStringpublic NullProperty(String name)
public NullProperty()
public String getStringValue()
JMeterProperty.getStringValue()public void setObjectValue(Object v)
public Object getObjectValue()
JMeterProperty.getObjectValue()public boolean isRunningVersion()
AbstractPropertyisRunningVersion in interface JMeterPropertyisRunningVersion in class AbstractPropertyJMeterProperty.isRunningVersion()public void mergeIn(JMeterProperty prop)
AbstractPropertymergeIn in interface JMeterPropertymergeIn in class AbstractPropertyprop - the property object to merge into this propertyJMeterProperty.mergeIn(JMeterProperty)public NullProperty clone()
AbstractPropertyclone in interface JMeterPropertyclone in class AbstractPropertypublic boolean getBooleanValue()
AbstractPropertygetBooleanValue in interface JMeterPropertygetBooleanValue in class AbstractPropertyJMeterProperty.getBooleanValue()public double getDoubleValue()
AbstractPropertygetDoubleValue in interface JMeterPropertygetDoubleValue in class AbstractPropertyJMeterProperty.getDoubleValue()public float getFloatValue()
AbstractPropertygetFloatValue in interface JMeterPropertygetFloatValue in class AbstractPropertyJMeterProperty.getFloatValue()public int getIntValue()
AbstractPropertygetIntValue in interface JMeterPropertygetIntValue in class AbstractPropertyJMeterProperty.getIntValue()public long getLongValue()
AbstractPropertygetLongValue in interface JMeterPropertygetLongValue in class AbstractPropertyJMeterProperty.getLongValue()public void recoverRunningVersion(TestElement owner)
JMeterPropertyowner - the owning elementJMeterProperty.recoverRunningVersion(TestElement)Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.