Class NullProperty
java.lang.Object
org.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.NullProperty
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<JMeterProperty>,JMeterProperty
A null property.
- See Also:
-
Field Summary
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanReturns false if string is invalid or null.doubleReturns 0 if string is invalid or null.floatReturns 0 if string is invalid or null.intReturns 0 if string is invalid or null.longReturns 0 if string is invalid or null.booleanReturns whether the property is a running version.voidmergeIn(JMeterProperty prop) Take the given property object and merge it's value with the current property object.voidrecoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Tell the property to revert to the state at the time setRunningVersion(true) was called.voidMethods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, makeProperty, normalizeList, normalizeMap, setName, setRunningVersion, toString
-
Constructor Details
-
NullProperty
-
NullProperty
public NullProperty()
-
-
Method Details
-
getStringValue
- See Also:
-
setObjectValue
-
getObjectValue
- See Also:
-
isRunningVersion
public boolean isRunningVersion()Description copied from class:AbstractPropertyReturns whether the property is a running version.- Specified by:
isRunningVersionin interfaceJMeterProperty- Overrides:
isRunningVersionin classAbstractProperty- Returns:
- flag whether this property is a running version
- See Also:
-
mergeIn
Description copied from class:AbstractPropertyTake 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.- Specified by:
mergeInin interfaceJMeterProperty- Overrides:
mergeInin classAbstractProperty- Parameters:
prop- the property object to merge into this property- See Also:
-
clone
Description copied from class:AbstractProperty- Specified by:
clonein interfaceJMeterProperty- Overrides:
clonein classAbstractProperty
-
getBooleanValue
public boolean getBooleanValue()Description copied from class:AbstractPropertyReturns false if string is invalid or null.- Specified by:
getBooleanValuein interfaceJMeterProperty- Overrides:
getBooleanValuein classAbstractProperty- See Also:
-
getDoubleValue
public double getDoubleValue()Description copied from class:AbstractPropertyReturns 0 if string is invalid or null.- Specified by:
getDoubleValuein interfaceJMeterProperty- Overrides:
getDoubleValuein classAbstractProperty- See Also:
-
getFloatValue
public float getFloatValue()Description copied from class:AbstractPropertyReturns 0 if string is invalid or null.- Specified by:
getFloatValuein interfaceJMeterProperty- Overrides:
getFloatValuein classAbstractProperty- See Also:
-
getIntValue
public int getIntValue()Description copied from class:AbstractPropertyReturns 0 if string is invalid or null.- Specified by:
getIntValuein interfaceJMeterProperty- Overrides:
getIntValuein classAbstractProperty- See Also:
-
getLongValue
public long getLongValue()Description copied from class:AbstractPropertyReturns 0 if string is invalid or null.- Specified by:
getLongValuein interfaceJMeterProperty- Overrides:
getLongValuein classAbstractProperty- See Also:
-
recoverRunningVersion
public void recoverRunningVersion(org.apache.jmeter.testelement.TestElement owner) Description copied from interface:JMeterPropertyTell the property to revert to the state at the time setRunningVersion(true) was called.- Parameters:
owner- the owning element- See Also:
-