org.apache.jmeter.protocol.java.config
Class JavaConfig
- Cloneable, Serializable, ConfigElement, TestElement
public class JavaConfig
implements Serializable
The
JavaConfig
class contains the configuration data necessary
for the Java protocol. This data is used to configure a
JavaSamplerClient
instance to
perform performance test samples.
JavaConfig() - Constructor for the JavaConfig object
|
void | addArgument(String name, String value) - Adds an argument to the list of arguments for this JavaConfig object.
|
Arguments | getArguments() - Gets the arguments for this JavaConfig object.
|
String | getClassname() - Gets the class name attribute of the JavaConfig object.
|
void | removeArguments() - Removes all of the arguments associated with this JavaConfig object.
|
void | setArguments(Arguments args) - Set all of the arguments for this JavaConfig object.
|
void | setClassname(String classname) - Sets the class name attribute of the JavaConfig object.
|
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 |
JavaConfig
public JavaConfig()
Constructor for the JavaConfig object
addArgument
public void addArgument(String name,
String value)
name
- the name of the argument to be addedvalue
- the value of the argument to be added
getClassname
public String getClassname()
Gets the class name attribute of the JavaConfig object. This is the class
name of the
JavaSamplerClient
implementation which will be used to execute the test.
removeArguments
public void removeArguments()
Removes all of the arguments associated with this JavaConfig object.
setArguments
public void setArguments(Arguments args)
Set all of the arguments for this JavaConfig object. This will replace
any previously added arguments. The
JavaSamplerClient
implementation can access these arguments through the
JavaSamplerContext
.
setClassname
public void setClassname(String classname)
Sets the class name attribute of the JavaConfig object. This is the class
name of the
JavaSamplerClient
implementation which will be used to execute the test.
classname
- the new classname value
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.