| java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.config.Argument
All known Subclasses: org.apache.jmeter.protocol.http.util.HTTPArgument,
Argument | public class Argument extends AbstractTestElement implements Serializable(Code) | | Class representing an argument. Each argument consists of a name/value pair,
as well as (optional) metadata.
author: Michael Stover author: Mark Walsh |
Field Summary | |
final public static String | ARG_NAME Name used to store the argument's name. | final public static String | METADATA Name used to store the argument's metadata. | final public static String | VALUE Name used to store the argument's value. |
Constructor Summary | |
public | Argument() Create a new Argument without a name, value, or metadata. | public | Argument(String name, String value) Create a new Argument with the specified name and value, and no metadata. | public | Argument(String name, String value, String metadata) Create a new Argument with the specified name, value, and metadata. |
ARG_NAME | final public static String ARG_NAME(Code) | | Name used to store the argument's name.
|
METADATA | final public static String METADATA(Code) | | Name used to store the argument's metadata.
|
VALUE | final public static String VALUE(Code) | | Name used to store the argument's value.
|
Argument | public Argument()(Code) | | Create a new Argument without a name, value, or metadata.
|
Argument | public Argument(String name, String value)(Code) | | Create a new Argument with the specified name and value, and no metadata.
Parameters: name - the argument name Parameters: value - the argument value |
Argument | public Argument(String name, String value, String metadata)(Code) | | Create a new Argument with the specified name, value, and metadata.
Parameters: name - the argument name Parameters: value - the argument value Parameters: metadata - the argument metadata |
getMetaData | public String getMetaData()(Code) | | Gets the Meta Data attribute of the Argument.
the MetaData value |
getName | public String getName()(Code) | | Get the name of the Argument.
the attribute's name |
getValue | public String getValue()(Code) | | Gets the value of the Argument object.
the attribute's value |
setMetaData | public void setMetaData(String newMetaData)(Code) | | Sets the Meta Data attribute of the Argument.
Parameters: newMetaData - the new metadata |
setName | public void setName(String newName)(Code) | | Set the name of the Argument.
Parameters: newName - the new name |
setValue | public void setValue(String newValue)(Code) | | Sets the value of the Argument.
Parameters: newValue - the new value |
|
|