|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static String |
COMMENTS
|
static String |
ENABLED
|
static String |
GUI_CLASS
|
static String |
NAME
|
static String |
TEST_CLASS
|
Method Summary | |
void |
addTestElement(TestElement child)
|
boolean |
canRemove()
Called by Remove to determine if it is safe to remove the element. |
void |
clear()
Clear the TestElement of all data. |
Object |
clone()
|
String |
getComment()
|
String |
getName()
|
JMeterProperty |
getProperty(String propName)
Given the name of the property, returns the appropriate property from JMeter. |
boolean |
getPropertyAsBoolean(String key)
Return a property as a boolean value. |
boolean |
getPropertyAsBoolean(String key,
boolean defaultValue)
|
double |
getPropertyAsDouble(String key)
|
float |
getPropertyAsFloat(String key)
|
int |
getPropertyAsInt(String key)
|
int |
getPropertyAsInt(String key,
int defaultValue)
|
long |
getPropertyAsLong(String key)
|
String |
getPropertyAsString(String key)
|
String |
getPropertyAsString(String key,
String defaultValue)
|
JMeterContext |
getThreadContext()
|
String |
getThreadName()
|
boolean |
isEnabled()
Check if ENABLED property is present and true ; defaults to true |
boolean |
isRunningVersion()
Returns true or false whether the element is the running version. |
boolean |
isTemporary(JMeterProperty property)
Test whether a given property is only a temporary resident of the TestElement |
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 |
setComment(String comment)
|
void |
setName(String name)
|
void |
setProperty(JMeterProperty property)
Sets and overwrites a property in the TestElement. |
void |
setProperty(String key,
boolean value)
|
void |
setProperty(String key,
boolean value,
boolean dflt)
|
void |
setProperty(String key,
int value)
|
void |
setProperty(String key,
int value,
int dflt)
|
void |
setProperty(String key,
String value)
|
void |
setProperty(String key,
String value,
String dflt)
|
void |
setRunningVersion(boolean run)
Make the test element the running version, or make it no longer the running version. |
void |
setTemporary(JMeterProperty property)
Indicate that the given property should be only a temporary property in the TestElement |
void |
setThreadContext(JMeterContext threadContext)
|
void |
setThreadName(String threadName)
|
void |
traverse(TestElementTraverser traverser)
Convenient way to traverse a test element. |
Field Detail |
public static final String NAME
public static final String GUI_CLASS
public static final String ENABLED
public static final String TEST_CLASS
public static final String COMMENTS
Method Detail |
public void addTestElement(TestElement child)
public void setProperty(String key, String value)
public void setProperty(String key, String value, String dflt)
public void setProperty(String key, boolean value)
public void setProperty(String key, boolean value, boolean dflt)
public void setProperty(String key, int value)
public void setProperty(String key, int value, int dflt)
public boolean isEnabled()
public boolean isRunningVersion()
public boolean isTemporary(JMeterProperty property)
property
-
public void setTemporary(JMeterProperty property)
property
- voidpublic boolean getPropertyAsBoolean(String key)
public boolean getPropertyAsBoolean(String key, boolean defaultValue)
public long getPropertyAsLong(String key)
public int getPropertyAsInt(String key)
public int getPropertyAsInt(String key, int defaultValue)
public float getPropertyAsFloat(String key)
public double getPropertyAsDouble(String key)
public void setRunningVersion(boolean run)
public void recoverRunningVersion()
public void clear()
public String getPropertyAsString(String key)
public String getPropertyAsString(String key, String defaultValue)
public void setProperty(JMeterProperty property)
public JMeterProperty getProperty(String propName)
public PropertyIterator propertyIterator()
public void removeProperty(String key)
public Object clone()
public void traverse(TestElementTraverser traverser)
public JMeterContext getThreadContext()
public void setThreadContext(JMeterContext threadContext)
threadContext
- The threadContext to set.public String getThreadName()
public void setThreadName(String threadName)
threadName
- The threadName to set.public boolean canRemove()
public String getName()
public void setName(String name)
public String getComment()
public void setComment(String comment)
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |