public abstract class NumberProperty extends AbstractProperty
log
Constructor and Description |
---|
NumberProperty() |
NumberProperty(String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JMeterProperty arg0)
Compares two JMeterProperty object values.
|
protected abstract void |
setNumberValue(Number n)
Set the value of the property with a Number object.
|
protected abstract void |
setNumberValue(String n)
Set the value of the property with a String object.
|
void |
setObjectValue(Object v) |
clone, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getObjectValue, getStringValue, recoverRunningVersion
public NumberProperty()
public NumberProperty(String name)
protected abstract void setNumberValue(Number n)
n
- the value to setprotected abstract void setNumberValue(String n) throws NumberFormatException
n
- the number to set as a string representationNumberFormatException
- if the number n
can not be converted to a
Number
public void setObjectValue(Object v)
public int compareTo(JMeterProperty arg0)
AbstractProperty
compareTo
in interface Comparable<JMeterProperty>
compareTo
in class AbstractProperty
arg0
- JMeterProperty to compare againstComparable.compareTo(Object)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.