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, toString
public NullProperty(String name)
public NullProperty()
public String getStringValue()
JMeterProperty.getStringValue()
public void setObjectValue(Object v)
public Object getObjectValue()
JMeterProperty.getObjectValue()
public boolean isRunningVersion()
AbstractProperty
isRunningVersion
in interface JMeterProperty
isRunningVersion
in class AbstractProperty
JMeterProperty.isRunningVersion()
public void mergeIn(JMeterProperty prop)
AbstractProperty
mergeIn
in interface JMeterProperty
mergeIn
in class AbstractProperty
prop
- the property object to merge into this propertyJMeterProperty.mergeIn(JMeterProperty)
public NullProperty clone()
AbstractProperty
clone
in interface JMeterProperty
clone
in class AbstractProperty
public boolean getBooleanValue()
AbstractProperty
getBooleanValue
in interface JMeterProperty
getBooleanValue
in class AbstractProperty
JMeterProperty.getBooleanValue()
public double getDoubleValue()
AbstractProperty
getDoubleValue
in interface JMeterProperty
getDoubleValue
in class AbstractProperty
JMeterProperty.getDoubleValue()
public float getFloatValue()
AbstractProperty
getFloatValue
in interface JMeterProperty
getFloatValue
in class AbstractProperty
JMeterProperty.getFloatValue()
public int getIntValue()
AbstractProperty
getIntValue
in interface JMeterProperty
getIntValue
in class AbstractProperty
JMeterProperty.getIntValue()
public long getLongValue()
AbstractProperty
getLongValue
in interface JMeterProperty
getLongValue
in class AbstractProperty
JMeterProperty.getLongValue()
public void recoverRunningVersion(TestElement owner)
JMeterProperty
owner
- the owning elementJMeterProperty.recoverRunningVersion(TestElement)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.