org.apache.jmeter.testelement.property
Class BooleanProperty
java.lang.Object
org.apache.jmeter.testelement.property.AbstractProperty
org.apache.jmeter.testelement.property.BooleanProperty
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
public class BooleanProperty
- extends AbstractProperty
- Version:
- $Revision: 1380048 $
- See Also:
- Serialized Form
Method Summary |
BooleanProperty |
clone()
|
boolean |
getBooleanValue()
Returns false 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. |
void |
setObjectValue(Object v)
|
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. |
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty |
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString |
BooleanProperty
public BooleanProperty(String name,
boolean v)
BooleanProperty
public BooleanProperty()
setObjectValue
public void setObjectValue(Object v)
getStringValue
public String getStringValue()
-
getObjectValue
public Object getObjectValue()
-
clone
public BooleanProperty clone()
- Description copied from class:
AbstractProperty
-
- Specified by:
clone
in interface JMeterProperty
- Overrides:
clone
in class AbstractProperty
getBooleanValue
public boolean getBooleanValue()
- Returns false if string is invalid or null.
- Specified by:
getBooleanValue
in interface JMeterProperty
- Overrides:
getBooleanValue
in class AbstractProperty
- See Also:
JMeterProperty.getBooleanValue()
setRunningVersion
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 class AbstractProperty
recoverRunningVersion
public void recoverRunningVersion(TestElement owner)
- Tell the property to revert to the state at the time
setRunningVersion(true) was called.
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.