org.apache.jmeter.config
Class Argument
- Cloneable, Serializable, TestElement
public class Argument
implements Serializable
Class representing an argument. Each argument consists of a name/value pair,
as well as (optional) metadata.
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.
|
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.
|
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()
|
addProperty , addTestElement , canRemove , clear , clearTemporary , clone , emptyTemporary , equals , getComment , getName , getProperty , getPropertyAsBoolean , getPropertyAsBoolean , getPropertyAsDouble , getPropertyAsFloat , getPropertyAsInt , getPropertyAsInt , getPropertyAsLong , getPropertyAsString , getPropertyAsString , getThreadContext , getThreadName , hashCode , isEnabled , isRunningVersion , isTemporary , logProperties , mergeIn , propertyIterator , recoverRunningVersion , removeProperty , setComment , setName , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setProperty , setRunningVersion , setTemporary , setThreadContext , setThreadName , traverse , traverseCollection , traverseMap , traverseProperty |
ARG_NAME
public static final String ARG_NAME
Name used to store the argument's name.
METADATA
public static final String METADATA
Name used to store the argument's metadata.
VALUE
public static final String VALUE
Name used to store the argument's value.
Argument
public Argument()
Create a new Argument without a name, value, or metadata.
Argument
public Argument(String name,
String value)
Create a new Argument with the specified name and value, and no metadata.
name
- the argument namevalue
- the argument value
Argument
public Argument(String name,
String value,
String metadata)
Create a new Argument with the specified name, value, and metadata.
name
- the argument namevalue
- the argument valuemetadata
- the argument metadata
getMetaData
public String getMetaData()
Gets the Meta Data attribute of the Argument.
getValue
public String getValue()
Gets the value of the Argument object.
isSkippable
public boolean isSkippable(String parameterName)
Is this parameter skippable, i.e. empty/blank string
or it looks like an unrecognised variable.
parameterName
- - parameter name
- true if parameter should be skipped
setMetaData
public void setMetaData(String newMetaData)
Sets the Meta Data attribute of the Argument.
newMetaData
- the new metadata
setValue
public void setValue(String newValue)
Sets the value of the Argument.
toString
public String toString()
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.