|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.property.AbstractProperty org.apache.jmeter.testelement.property.NumberProperty org.apache.jmeter.testelement.property.LongProperty
public class LongProperty
Field Summary |
---|
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
---|
log |
Constructor Summary | |
---|---|
LongProperty()
|
|
LongProperty(String name,
long value)
|
Method Summary | |
---|---|
LongProperty |
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()
|
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. |
protected void |
setNumberValue(Number n)
Set the value of the property with a Number object. |
protected void |
setNumberValue(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. A property that is made a running version will preserve the current state in such a way that it is retrievable by a future call to 'recoverRunningVersion()'. Additionally, a property that is a running version will resolve all functions prior to returning it's property value. A non-running version property will return functions as their uncompiled string representation. |
void |
setValue(int 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 LongProperty(String name, long value)
public LongProperty()
Method Detail |
---|
public void setRunningVersion(boolean runningVersion)
setRunningVersion
in interface JMeterProperty
setRunningVersion
in class AbstractProperty
public void recoverRunningVersion(TestElement owner)
public void setValue(int value)
protected void setNumberValue(Number n)
setNumberValue
in class NumberProperty
protected void setNumberValue(String n) throws NumberFormatException
setNumberValue
in class NumberProperty
NumberFormatException
public String getStringValue()
JMeterProperty.getStringValue()
public Object getObjectValue()
JMeterProperty.getObjectValue()
public LongProperty clone()
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()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |