|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.NumberProperty
org.apache.jmeter.testelement.property.DoubleProperty
public class DoubleProperty
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
|---|
log |
| Constructor Summary | |
|---|---|
DoubleProperty()
|
|
DoubleProperty(java.lang.String name,
double value)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
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. |
java.lang.Object |
getObjectValue()
|
java.lang.String |
getStringValue()
|
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. |
protected void |
setNumberValue(java.lang.Number n)
Set the value of the property with a Number object. |
protected void |
setNumberValue(java.lang.String n)
Set the value of the property with a String object. |
void |
setRunningVersion(boolean runningVersion)
Make the property a running version or turn it off as the running version. |
void |
setValue(float value)
|
| Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty |
|---|
compareTo, setObjectValue |
| Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
|---|
convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleProperty(java.lang.String name,
double value)
public DoubleProperty()
| Method Detail |
|---|
public void setValue(float value)
protected void setNumberValue(java.lang.Number n)
NumberProperty
setNumberValue in class NumberProperty
protected void setNumberValue(java.lang.String n)
throws java.lang.NumberFormatException
NumberProperty
setNumberValue in class NumberPropertyjava.lang.NumberFormatExceptionpublic java.lang.String getStringValue()
JMeterProperty.getStringValue()public java.lang.Object getObjectValue()
JMeterProperty.getObjectValue()public java.lang.Object clone()
clone in interface JMeterPropertyclone in class AbstractPropertypublic boolean getBooleanValue()
AbstractProperty
getBooleanValue in interface JMeterPropertygetBooleanValue in class AbstractPropertyJMeterProperty.getBooleanValue()public double getDoubleValue()
AbstractProperty
getDoubleValue in interface JMeterPropertygetDoubleValue in class AbstractPropertyJMeterProperty.getDoubleValue()public float getFloatValue()
AbstractProperty
getFloatValue in interface JMeterPropertygetFloatValue in class AbstractPropertyJMeterProperty.getFloatValue()public int getIntValue()
AbstractProperty
getIntValue in interface JMeterPropertygetIntValue in class AbstractPropertyJMeterProperty.getIntValue()public long getLongValue()
AbstractProperty
getLongValue in interface JMeterPropertygetLongValue in class AbstractPropertyJMeterProperty.getLongValue()public void setRunningVersion(boolean runningVersion)
JMeterProperty
setRunningVersion in interface JMeterPropertysetRunningVersion in class AbstractPropertypublic void recoverRunningVersion(TestElement owner)
JMeterProperty
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||