|
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
public abstract class AbstractProperty
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Constructor Summary | |
|---|---|
AbstractProperty()
|
|
AbstractProperty(String name)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
int |
compareTo(Object arg0)
Compares two JMeterProperty object values. |
protected JMeterProperty |
convertObject(Object item)
|
static JMeterProperty |
createProperty(Object item)
|
boolean |
equals(Object o)
Determines if the two objects are equal by comparing names and values |
protected JMeterProperty |
getBlankProperty()
|
protected static JMeterProperty |
getBlankProperty(Object item)
|
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. |
protected PropertyIterator |
getIterator(Collection values)
|
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. |
int |
hashCode()
|
protected boolean |
isEqualType(JMeterProperty prop)
|
boolean |
isRunningVersion()
Returns whether the property is a running version. |
protected static JMeterProperty |
makeProperty(Object item)
Create a JMeterProperty from an object. |
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 |
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. |
String |
toString()
Provides the string representation of the property. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.testelement.property.JMeterProperty |
|---|
getObjectValue, getStringValue, recoverRunningVersion, setObjectValue |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
public AbstractProperty(String name)
public AbstractProperty()
| Method Detail |
|---|
protected boolean isEqualType(JMeterProperty prop)
public boolean isRunningVersion()
JMeterProperty
isRunningVersion in interface JMeterPropertypublic String getName()
JMeterProperty
getName in interface JMeterPropertypublic void setName(String name)
JMeterProperty
setName in interface JMeterPropertypublic void setRunningVersion(boolean runningVersion)
JMeterProperty
setRunningVersion in interface JMeterPropertyprotected PropertyIterator getIterator(Collection values)
public Object clone()
clone in interface JMeterPropertyclone in class Objectpublic int getIntValue()
getIntValue in interface JMeterPropertyJMeterProperty.getIntValue()public long getLongValue()
getLongValue in interface JMeterPropertyJMeterProperty.getLongValue()public double getDoubleValue()
getDoubleValue in interface JMeterPropertyJMeterProperty.getDoubleValue()public float getFloatValue()
getFloatValue in interface JMeterPropertyJMeterProperty.getFloatValue()public boolean getBooleanValue()
getBooleanValue in interface JMeterPropertyJMeterProperty.getBooleanValue()public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(Object arg0)
compareTo in interface Comparablearg0 - JMeterProperty to compare against
Comparable.compareTo(Object)protected Class getPropertyType()
protected JMeterProperty getBlankProperty()
protected static JMeterProperty getBlankProperty(Object item)
protected Collection normalizeList(Collection coll)
protected Map normalizeMap(Map coll)
public static JMeterProperty createProperty(Object item)
protected static JMeterProperty makeProperty(Object item)
item - object to be turned into a propery
protected JMeterProperty convertObject(Object item)
public String toString()
toString in class Objectpublic void mergeIn(JMeterProperty prop)
JMeterProperty
mergeIn in interface JMeterProperty
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||