| Apache JMeter | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.jmeter.testelement.property.AbstractPropertyorg.apache.jmeter.testelement.property.NumberPropertyorg.apache.jmeter.testelement.property.IntegerPropertypublic class IntegerPropertyextends NumberPropertyField Summary |
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty | |
log | |
Constructor Summary | |
| |
| |
Method Summary | |
Object |
|
boolean | |
double | |
float | |
int | |
long | |
Object | |
String | |
void |
|
protected void |
|
protected void |
|
void |
|
void |
|
Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty | |
compareTo, setNumberValue, setNumberValue, setObjectValue | |
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty | |
clone, compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString | |
public IntegerProperty()
public IntegerProperty(String name)
public IntegerProperty(String name,
int value)public Object clone()
- Specified by:
- clone in interface JMeterProperty
- Overrides:
- clone in interface AbstractProperty
public boolean getBooleanValue()
- Specified by:
- getBooleanValue in interface JMeterProperty
- Overrides:
- getBooleanValue in interface AbstractProperty
- See Also:
JMeterProperty.getBooleanValue()
public double getDoubleValue()
- Specified by:
- getDoubleValue in interface JMeterProperty
- Overrides:
- getDoubleValue in interface AbstractProperty
- See Also:
JMeterProperty.getDoubleValue()
public float getFloatValue()
- Specified by:
- getFloatValue in interface JMeterProperty
- Overrides:
- getFloatValue in interface AbstractProperty
- See Also:
JMeterProperty.getFloatValue()
public int getIntValue()
- Specified by:
- getIntValue in interface JMeterProperty
- Overrides:
- getIntValue in interface AbstractProperty
- See Also:
JMeterProperty.getIntValue()
public long getLongValue()
- Specified by:
- getLongValue in interface JMeterProperty
- Overrides:
- getLongValue in interface AbstractProperty
- See Also:
JMeterProperty.getLongValue()
public Object getObjectValue()
- Specified by:
- getObjectValue in interface JMeterProperty
- See Also:
JMeterProperty.getObjectValue()
public String getStringValue()
- Specified by:
- getStringValue in interface JMeterProperty
- See Also:
JMeterProperty.getStringValue()
public void recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called.
- Specified by:
- recoverRunningVersion in interface JMeterProperty
protected void setNumberValue(Number n)
Set the value of the property with a Number object.
- Overrides:
- setNumberValue in interface NumberProperty
protected void setNumberValue(String n)
throws NumberFormatExceptionSet the value of the property with a String object.
- Overrides:
- setNumberValue in interface NumberProperty
public 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.
- Specified by:
- setRunningVersion in interface JMeterProperty
- Overrides:
- setRunningVersion in interface AbstractProperty
- Parameters:
runningVersion-
public void setValue(int value)