|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.config.Argument
public class 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 |
DESCRIPTION
Name used to store the argument's description. |
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. |
|
Argument(String name,
String value,
String metadata,
String description)
Create a new Argument with the specified name, value, and metadata. |
Method Summary | |
---|---|
String |
getDescription()
Gets the Meta Data attribute of the Argument. |
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 |
setDescription(String description)
Sets the Description attribute of the Argument. |
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 DESCRIPTION
public static final String METADATA
Constructor Detail |
---|
public Argument()
public Argument(String name, String value)
name
- the argument namevalue
- the argument valuepublic Argument(String name, String value, String metadata)
name
- the argument namevalue
- the argument valuemetadata
- the argument metadatapublic Argument(String name, String value, String metadata, String description)
name
- the argument namevalue
- the argument valuemetadata
- the argument metadatadescription
- the argument descriptionMethod Detail |
---|
public void setName(String newName)
setName
in interface TestElement
setName
in class AbstractTestElement
newName
- the new namepublic String getName()
getName
in interface TestElement
getName
in class AbstractTestElement
public void setValue(String newValue)
newValue
- the new valuepublic String getValue()
public void setDescription(String description)
description
- the new descriptionpublic String getDescription()
public void setMetaData(String newMetaData)
newMetaData
- the new metadatapublic String getMetaData()
public String toString()
toString
in class Object
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 |