|
Apache JMeter 1.9 |
|||||||||
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
Field Summary | |
protected static org.apache.log.Logger |
log
|
Constructor Summary | |
AbstractProperty()
|
|
AbstractProperty(String name)
|
Method Summary | |
void |
clearTemporary(TestElement owner)
Tells the property that it should clear information regarding the temporary attribute for the given owner. |
Object |
clone()
|
int |
compareTo(Object arg0)
|
protected JMeterProperty |
convertObject(Object item)
|
boolean |
equals(Object o)
|
protected JMeterProperty |
getBlankProperty()
|
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. |
String |
getName()
The name of the property. |
protected Class |
getPropertyType()
Get the property type for this property. |
protected boolean |
isEqualType(JMeterProperty prop)
|
boolean |
isRunningVersion()
Returns whether the property is a running version. |
boolean |
isTemporary(TestElement owner)
Indicates whether the property is a temporary property. |
void |
mergeIn(JMeterProperty prop)
Take the given property object and merge it's value with the current property object. |
protected Collection |
normalizeList(Collection coll)
|
protected Map |
normalizeMap(Map coll)
Given a Map, it converts the Map into a collection of JMeterProperty objects, appropriate for a MapProperty object. |
void |
recoverRunningVersion(TestElement owner)
Tell the property to revert to the state at the time setRunningVersion(true) was called. |
void |
setName(String name)
Set the property name. |
void |
setRunningVersion(boolean runningVersion)
Make the property a running version or turn it off as the running version. |
void |
setTemporary(boolean temporary,
TestElement owner)
A property newly created and added to a test element that is currently a running version should be made temporary. |
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jmeter.testelement.property.JMeterProperty |
getObjectValue, getStringValue, setObjectValue |
Field Detail |
protected static org.apache.log.Logger log
Constructor Detail |
public AbstractProperty(String name)
public AbstractProperty()
Method Detail |
protected boolean isEqualType(JMeterProperty prop)
public boolean isRunningVersion()
JMeterProperty
isRunningVersion
in interface JMeterProperty
public String getName()
JMeterProperty
getName
in interface JMeterProperty
public void setName(String name)
JMeterProperty
setName
in interface JMeterProperty
name
- public void setRunningVersion(boolean runningVersion)
JMeterProperty
setRunningVersion
in interface JMeterProperty
runningVersion
- public boolean isTemporary(TestElement owner)
JMeterProperty
isTemporary
in interface JMeterProperty
public void mergeIn(JMeterProperty prop)
JMeterProperty
mergeIn
in interface JMeterProperty
prop
- public void setTemporary(boolean temporary, TestElement owner)
JMeterProperty
setTemporary
in interface JMeterProperty
temporary
- public void clearTemporary(TestElement owner)
JMeterProperty
clearTemporary
in interface JMeterProperty
owner
- public Object clone()
clone
in interface JMeterProperty
clone
in class Object
public int getIntValue()
getIntValue
in interface JMeterProperty
JMeterProperty.getIntValue()
public long getLongValue()
getLongValue
in interface JMeterProperty
JMeterProperty.getLongValue()
public double getDoubleValue()
getDoubleValue
in interface JMeterProperty
JMeterProperty.getDoubleValue()
public void recoverRunningVersion(TestElement owner)
JMeterProperty
recoverRunningVersion
in interface JMeterProperty
JMeterProperty.recoverRunningVersion(TestElement)
public float getFloatValue()
getFloatValue
in interface JMeterProperty
JMeterProperty.getFloatValue()
public boolean getBooleanValue()
getBooleanValue
in interface JMeterProperty
JMeterProperty.getBooleanValue()
public boolean equals(Object o)
equals
in interface JMeterProperty
equals
in class Object
public int compareTo(Object arg0)
compareTo
in interface Comparable
protected Class getPropertyType()
protected JMeterProperty getBlankProperty()
protected Collection normalizeList(Collection coll)
protected Map normalizeMap(Map coll)
protected JMeterProperty convertObject(Object item)
public String toString()
toString
in class Object
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |