Class LDAPArgument
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument
- All Implemented Interfaces:
Serializable
,Cloneable
,Searchable
,org.apache.jmeter.testelement.TestElement
Class representing an argument. Each argument consists of a name/value and
opcode combination, as well as (optional) metadata.
author Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM
company Siemens Netherlands N.V..
Based on the work of:
author Michael Stover author Mark Walsh
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElement
org.apache.jmeter.testelement.TestElement.Companion
-
Field Summary
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
-
Constructor Summary
ConstructorDescriptionCreate a new Argument without a name, value, or metadata.LDAPArgument
(String name, String value, String opcode) Create a new Argument with the specified name and value, and no metadata.LDAPArgument
(String name, String value, String opcode, String metadata) Create a new Argument with the specified name, value, and metadata. -
Method Summary
Modifier and TypeMethodDescriptionGets the Meta Data attribute of the Argument.getName()
Get the name of the Argument.Gets the opcode of the Argument object.getValue()
Gets the value of the Argument object.void
setMetaData
(String newMetaData) Sets the Meta Data attribute of the Argument.void
Set the name of the Argument.void
Sets the opcode of the Argument.void
Sets the value of the Argument.Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
-
Constructor Details
-
LDAPArgument
public LDAPArgument()Create a new Argument without a name, value, or metadata. -
LDAPArgument
Create a new Argument with the specified name and value, and no metadata.- Parameters:
name
- the argument namevalue
- the argument valueopcode
- the operation to perform, may be one ofadd
,delete
,remove
ormodify
.
-
LDAPArgument
Create a new Argument with the specified name, value, and metadata.- Parameters:
name
- the argument namevalue
- the argument valueopcode
- the operation to perform, may be one ofadd
,delete
,remove
ormodify
.metadata
- the argument metadata
-
-
Method Details
-
setName
Set the name of the Argument.- Specified by:
setName
in interfaceorg.apache.jmeter.testelement.TestElement
- Overrides:
setName
in classAbstractTestElement
- Parameters:
newName
- the new name
-
getName
Get the name of the Argument.- Specified by:
getName
in interfaceorg.apache.jmeter.testelement.TestElement
- Overrides:
getName
in classAbstractTestElement
- Returns:
- the attribute's name
-
setValue
Sets the value of the Argument.- Parameters:
newValue
- the new value
-
getValue
Gets the value of the Argument object.- Returns:
- the attribute's value
-
setOpcode
Sets the opcode of the Argument.- Parameters:
newOpcode
- the new value
-
getOpcode
Gets the opcode of the Argument object.- Returns:
- the attribute's value
-
setMetaData
Sets the Meta Data attribute of the Argument.- Parameters:
newMetaData
- the new metadata
-
getMetaData
Gets the Meta Data attribute of the Argument.- Returns:
- the MetaData value
-