|
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.AbstractTestElement
Field Summary | |
protected static org.apache.log.Logger |
log
|
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
AbstractTestElement()
|
Method Summary | |
protected void |
addProperty(JMeterProperty property)
|
void |
addTestElement(TestElement el)
|
void |
clear()
Clear the TestElement of all data. |
Object |
clone()
|
boolean |
equals(Object o)
|
String |
getName()
|
JMeterProperty |
getProperty(String key)
Get the named property. |
boolean |
getPropertyAsBoolean(String key)
Return a property as a boolean value. |
double |
getPropertyAsDouble(String key)
|
float |
getPropertyAsFloat(String key)
|
int |
getPropertyAsInt(String key)
|
long |
getPropertyAsLong(String key)
|
String |
getPropertyAsString(String key)
|
boolean |
isRunningVersion()
Returns the runningVersion. |
protected void |
logProperties()
Log the properties of the test element |
protected void |
mergeIn(TestElement element)
|
protected Sampler |
nextIsNull()
|
PropertyIterator |
propertyIterator()
Get a Property Iterator for the TestElements properties. |
void |
recoverRunningVersion()
Tells the test element to return to the state it was in when makeRunningVersion() was called. |
void |
removeProperty(String key)
|
void |
setName(String name)
|
void |
setProperty(JMeterProperty property)
Sets and overwrites a property in the TestElement. |
void |
setProperty(String name,
String value)
|
void |
setRunningVersion(boolean runningVersion)
Sets the runningVersion. |
void |
traverse(TestElementTraverser traverser)
Convenient way to traverse a test element. |
protected void |
traverseCollection(CollectionProperty col,
TestElementTraverser traverser)
|
protected void |
traverseMap(MapProperty map,
TestElementTraverser traverser)
|
protected void |
traverseProperty(TestElementTraverser traverser,
JMeterProperty value)
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log.Logger log
Constructor Detail |
public AbstractTestElement()
Method Detail |
public Object clone()
clone
in interface TestElement
clone
in class Object
public void clear()
TestElement
clear
in interface TestElement
public void removeProperty(String key)
removeProperty
in interface TestElement
public boolean equals(Object o)
equals
in class Object
public void addTestElement(TestElement el)
addTestElement
in interface TestElement
public void setName(String name)
public String getName()
public JMeterProperty getProperty(String key)
getProperty
in interface TestElement
public void traverse(TestElementTraverser traverser)
TestElement
traverse
in interface TestElement
protected void traverseProperty(TestElementTraverser traverser, JMeterProperty value)
protected void traverseMap(MapProperty map, TestElementTraverser traverser)
protected void traverseCollection(CollectionProperty col, TestElementTraverser traverser)
public int getPropertyAsInt(String key)
getPropertyAsInt
in interface TestElement
public boolean getPropertyAsBoolean(String key)
TestElement
getPropertyAsBoolean
in interface TestElement
public float getPropertyAsFloat(String key)
getPropertyAsFloat
in interface TestElement
public long getPropertyAsLong(String key)
getPropertyAsLong
in interface TestElement
public double getPropertyAsDouble(String key)
public String getPropertyAsString(String key)
getPropertyAsString
in interface TestElement
protected void addProperty(JMeterProperty property)
protected void logProperties()
TestElement.setProperty(JMeterProperty)
public void setProperty(JMeterProperty property)
TestElement
setProperty
in interface TestElement
public void setProperty(String name, String value)
setProperty
in interface TestElement
public PropertyIterator propertyIterator()
TestElement
propertyIterator
in interface TestElement
protected void mergeIn(TestElement element)
public boolean isRunningVersion()
isRunningVersion
in interface TestElement
public void setRunningVersion(boolean runningVersion)
setRunningVersion
in interface TestElement
runningVersion
- the runningVersion to setpublic void recoverRunningVersion()
TestElement
recoverRunningVersion
in interface TestElement
protected Sampler nextIsNull() throws NextIsNullException
NextIsNullException
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |