|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
| Field Summary |
| 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)
|
boolean |
canRemove()
Called by Remove to determine if it is safe to remove the element. |
void |
clear()
Clear the TestElement of all data. |
protected void |
clearTemporary(JMeterProperty property)
|
Object |
clone()
|
protected void |
emptyTemporary()
|
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. |
boolean |
getPropertyAsBoolean(String key,
boolean defaultVal)
|
double |
getPropertyAsDouble(String key)
|
float |
getPropertyAsFloat(String key)
|
int |
getPropertyAsInt(String key)
|
long |
getPropertyAsLong(String key)
|
String |
getPropertyAsString(String key)
|
JMeterContext |
getThreadContext()
|
String |
getThreadName()
|
boolean |
isRunningVersion()
Returns the runningVersion. |
boolean |
isTemporary(JMeterProperty property)
Test whether a given property is only a temporary resident of the TestElement |
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 |
setTemporary(JMeterProperty property)
Indicate that the given property should be only a temporary property in the TestElement |
void |
setThreadContext(JMeterContext inthreadContext)
|
void |
setThreadName(String inthreadName)
|
void |
threadFinished()
Called at the end of each thread. |
void |
threadStarted()
Called at the start of each thread. |
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 |
| Constructor Detail |
public AbstractTestElement()
| Method Detail |
public Object clone()
clone in interface TestElementpublic void clear()
TestElement
clear in interface TestElementpublic void removeProperty(String key)
removeProperty in interface TestElementpublic boolean equals(Object o)
public void addTestElement(TestElement el)
addTestElement in interface TestElementpublic void setName(String name)
public String getName()
public JMeterProperty getProperty(String key)
getProperty in interface TestElementpublic 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 TestElementpublic boolean getPropertyAsBoolean(String key)
TestElement
getPropertyAsBoolean in interface TestElement
public boolean getPropertyAsBoolean(String key,
boolean defaultVal)
public float getPropertyAsFloat(String key)
getPropertyAsFloat in interface TestElementpublic long getPropertyAsLong(String key)
getPropertyAsLong in interface TestElementpublic double getPropertyAsDouble(String key)
public String getPropertyAsString(String key)
getPropertyAsString in interface TestElementprotected void addProperty(JMeterProperty property)
protected void clearTemporary(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 TestElementpublic PropertyIterator propertyIterator()
TestElement
propertyIterator in interface TestElementprotected void mergeIn(TestElement element)
public boolean isRunningVersion()
isRunningVersion in interface TestElementpublic void setRunningVersion(boolean runningVersion)
setRunningVersion in interface TestElementrunningVersion - the runningVersion to setpublic void recoverRunningVersion()
TestElement
recoverRunningVersion in interface TestElementprotected void emptyTemporary()
protected Sampler nextIsNull()
throws NextIsNullException
NextIsNullExceptionpublic boolean isTemporary(JMeterProperty property)
TestElement
isTemporary in interface TestElementproperty -
public void setTemporary(JMeterProperty property)
TestElement
setTemporary in interface TestElementproperty - voidpublic JMeterContext getThreadContext()
getThreadContext in interface TestElementpublic void setThreadContext(JMeterContext inthreadContext)
setThreadContext in interface TestElementinthreadContext - The threadContext to set.public String getThreadName()
getThreadName in interface TestElementpublic void setThreadName(String inthreadName)
setThreadName in interface TestElementinthreadName - The threadName to set.public void threadFinished()
TestElement
threadFinished in interface TestElementpublic void threadStarted()
TestElement
threadStarted in interface TestElementpublic boolean canRemove()
TestElement
canRemove in interface TestElement
|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||