| Apache JMeter | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElementFields inherited from interface org.apache.jmeter.testelement.TestElement | |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS | |
Constructor Summary | |
Method Summary | |
protected void |
|
void | |
boolean | |
void |
|
protected void |
|
Object |
|
protected void | |
boolean |
|
String | |
String |
|
JMeterProperty |
|
boolean |
|
boolean |
|
double |
|
float |
|
int |
|
int |
|
long |
|
String |
|
String |
|
JMeterContext | |
String | |
int |
|
boolean | |
boolean |
|
boolean |
|
protected void |
|
protected void |
|
PropertyIterator | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
public void addTestElement(TestElement el)
- Specified by:
- addTestElement in interface TestElement
protected void emptyTemporary()
public boolean equals(Object o)
public JMeterProperty getProperty(String key)
Get the named property. If it doesn't exist, a new NullProperty object is created with the same name and returned.
- Specified by:
- getProperty in interface TestElement
public boolean getPropertyAsBoolean(String key)
- Specified by:
- getPropertyAsBoolean in interface TestElement
public boolean getPropertyAsBoolean(String key,
boolean defaultVal)
- Specified by:
- getPropertyAsBoolean in interface TestElement
public double getPropertyAsDouble(String key)
- Specified by:
- getPropertyAsDouble in interface TestElement
public float getPropertyAsFloat(String key)
- Specified by:
- getPropertyAsFloat in interface TestElement
public int getPropertyAsInt(String key)
- Specified by:
- getPropertyAsInt in interface TestElement
public int getPropertyAsInt(String key,
int defaultValue)
- Specified by:
- getPropertyAsInt in interface TestElement
public long getPropertyAsLong(String key)
- Specified by:
- getPropertyAsLong in interface TestElement
public String getPropertyAsString(String key)
- Specified by:
- getPropertyAsString in interface TestElement
public String getPropertyAsString(String key,
String defaultValue)
- Specified by:
- getPropertyAsString in interface TestElement
public JMeterContext getThreadContext()
- Specified by:
- getThreadContext in interface TestElement
- Returns:
- Returns the threadContext.
public String getThreadName()
- Specified by:
- getThreadName in interface TestElement
- Returns:
- Returns the threadName.
public int hashCode()
public boolean isRunningVersion()
Returns the runningVersion.
- Specified by:
- isRunningVersion in interface TestElement
public boolean isTemporary(JMeterProperty property)
- Specified by:
- isTemporary in interface TestElement
protected void logProperties()
Log the properties of the test element
public PropertyIterator propertyIterator()
- Specified by:
- propertyIterator in interface TestElement
public void recoverRunningVersion()
- Specified by:
- recoverRunningVersion in interface TestElement
public void removeProperty(String key)
- Specified by:
- removeProperty in interface TestElement
public void setProperty(String name,
String value)
- Specified by:
- setProperty in interface TestElement
public void setProperty(String name,
String value,
String dflt)Create a String property - but only if it is not the default. This is intended for use when adding new properties to JMeter so that JMX files are not expanded unnecessarily. N.B. - must agree with the default applied when reading the property.
- Specified by:
- setProperty in interface TestElement
- Parameters:
name- property namevalue- current valuedflt- default
public void setProperty(String name,
boolean value)
- Specified by:
- setProperty in interface TestElement
public void setProperty(String name,
boolean value,
boolean dflt)Create a boolean property - but only if it is not the default. This is intended for use when adding new properties to JMeter so that JMX files are not expanded unnecessarily. N.B. - must agree with the default applied when reading the property.
- Specified by:
- setProperty in interface TestElement
- Parameters:
name- property namevalue- current valuedflt- default
public void setProperty(String name,
int value)
- Specified by:
- setProperty in interface TestElement
public void setProperty(String name,
int value,
int dflt)Create a boolean property - but only if it is not the default. This is intended for use when adding new properties to JMeter so that JMX files are not expanded unnecessarily. N.B. - must agree with the default applied when reading the property.
- Specified by:
- setProperty in interface TestElement
- Parameters:
name- property namevalue- current valuedflt- default
public void setProperty(JMeterProperty property)
- Specified by:
- setProperty in interface TestElement
public void setRunningVersion(boolean runningVersion)
Sets the runningVersion.
- Specified by:
- setRunningVersion in interface TestElement
- Parameters:
runningVersion- the runningVersion to set
public void setTemporary(JMeterProperty property)
- Specified by:
- setTemporary in interface TestElement
public void setThreadContext(JMeterContext inthreadContext)
- Specified by:
- setThreadContext in interface TestElement
- Parameters:
inthreadContext- The threadContext to set.
public void setThreadName(String inthreadName)
- Specified by:
- setThreadName in interface TestElement
- Parameters:
inthreadName- The threadName to set.
public void traverse(TestElementTraverser traverser)
- Specified by:
- traverse in interface TestElement
protected void traverseCollection(CollectionProperty col, TestElementTraverser traverser)
protected void traverseProperty(TestElementTraverser traverser, JMeterProperty value)