|
Apache JMeter | |||||||||
| 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.Argument
Class representing an argument. Each argument consists of a name/value pair, as well as (optional) metadata.
| Field Summary | |
static String |
ARG_NAME
Name used to store the argument's name. |
static String |
METADATA
Name used to store the argument's metadata. |
static String |
VALUE
Name used to store the argument's value. |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
Argument()
Create a new Argument without a name, value, or metadata. |
|
Argument(String name,
String value)
Create a new Argument with the specified name and value, and no metadata. |
|
Argument(String name,
String value,
String metadata)
Create a new Argument with the specified name, value, and metadata. |
|
| Method Summary | |
String |
getMetaData()
Gets the Meta Data attribute of the Argument. |
String |
getName()
Get the name of the Argument. |
String |
getValue()
Gets the value of the Argument object. |
boolean |
isSkippable(String parameterName)
Is this parameter skippable, i.e. empty/blank string or it looks like an unrecognised variable. |
void |
setMetaData(String newMetaData)
Sets the Meta Data attribute of the Argument. |
void |
setName(String newName)
Set the name of the Argument. |
void |
setValue(String newValue)
Sets the value of the Argument. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String ARG_NAME
public static final String VALUE
public static final String METADATA
| Constructor Detail |
public Argument()
public Argument(String name,
String value)
name - the argument namevalue - the argument value
public Argument(String name,
String value,
String metadata)
name - the argument namevalue - the argument valuemetadata - the argument metadata| Method Detail |
public void setName(String newName)
setName in interface TestElementsetName in class AbstractTestElementnewName - the new namepublic String getName()
getName in interface TestElementgetName in class AbstractTestElementpublic void setValue(String newValue)
newValue - the new valuepublic String getValue()
public void setMetaData(String newMetaData)
newMetaData - the new metadatapublic String getMetaData()
public String toString()
public boolean isSkippable(String parameterName)
parameterName - - parameter name
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||