|
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
org.apache.jmeter.config.ConfigTestElement
org.apache.jmeter.config.Arguments
A set of Argument objects.
Field Summary | |
static String |
ARGUMENTS
The name of the property used to store the arguments. |
Fields inherited from class org.apache.jmeter.config.ConfigTestElement |
PASSWORD, USERNAME |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
Arguments()
Create a new Arguments object with no arguments. |
Method Summary | |
void |
addArgument(Argument arg)
Add a new argument. |
void |
addArgument(String name,
String value)
Add a new argument with the given name and value. |
void |
addArgument(String name,
String value,
String metadata)
Add a new argument with the given name, value, and metadata. |
void |
addEmptyArgument()
Add a new empty argument to the list. |
void |
clear()
Clear the arguments. |
Argument |
getArgument(int row)
Get a single argument. |
int |
getArgumentCount()
Get the number of arguments in the list. |
CollectionProperty |
getArguments()
Get the arguments. |
Map |
getArgumentsAsMap()
Get the arguments as a Map. |
PropertyIterator |
iterator()
Get a PropertyIterator of the arguments. |
void |
removeAllArguments()
Remove all arguments from the list. |
void |
removeArgument(Argument arg)
Remove the specified argument from the list. |
void |
removeArgument(int row)
Remove the specified argument from the list. |
void |
removeArgument(String argName)
Remove the argument with the specified name. |
void |
setArguments(List arguments)
Set the list of arguments. |
String |
toString()
Create a string representation of the arguments. |
Methods inherited from class org.apache.jmeter.config.ConfigTestElement |
addTestElement |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, canRemove, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String ARGUMENTS
Constructor Detail |
public Arguments()
Method Detail |
public CollectionProperty getArguments()
public void clear()
clear
in interface TestElement
clear
in class AbstractTestElement
public void setArguments(List arguments)
arguments
- the new argumentspublic Map getArgumentsAsMap()
public void addArgument(String name, String value)
name
- the name of the argumentvalue
- the value of the argumentpublic void addArgument(Argument arg)
arg
- the new argumentpublic void addArgument(String name, String value, String metadata)
name
- the name of the argumentvalue
- the value of the argumentmetadata
- the metadata for the argumentpublic PropertyIterator iterator()
public String toString()
public void removeArgument(int row)
row
- the index of the argument to removepublic void removeArgument(Argument arg)
arg
- the argument to removepublic void removeArgument(String argName)
argName
- the name of the argument to removepublic void removeAllArguments()
public void addEmptyArgument()
public int getArgumentCount()
public Argument getArgument(int row)
row
- the index of the argument to return.
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |