Apache JMeter
2.0.1.20050615

org.apache.jmeter.protocol.ldap.config
Class LdapConfig

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.config.ConfigTestElement
          extended byorg.apache.jmeter.protocol.ldap.config.LdapConfig
All Implemented Interfaces:
Cloneable, Serializable, TestElement

public class LdapConfig
extends ConfigTestElement
implements Serializable

This is model class for the LdapConfigGui. This will hold all the LDAP config value.

Version:
$Revision: 1.5 $ Last Updated: $Date: 2004/02/13 02:40:55 $
Author:
T.Elanjchezhiyan(chezhiyan@siptech.co.in) - Sip Technologies and Exports Ltd. Created Apr 29 2003 11:45 AM
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
LdapConfig()
          Constructor for the LdapConfig object.
 
Method Summary
 Arguments getArguments()
          Gets the Arguments attribute of the LdapConfig object.
 String getLabel()
          Returns a formatted string label describing this sampler.
 String getRootdn()
          Gets the Rootdn attribute of the LdapConfig object.
 String getTest()
          Gets the test attribute of the LdapConfig object.
 boolean getUserDefinedTest()
          Gets the UserDefinedTest attribute of the LdapConfig object.
 void setArguments(Arguments value)
          Sets the Arguments attribute of the LdapConfig object.
 void setRootdn(String newRootdn)
          Sets the Rootdn attribute of the LdapConfig object.
 void setTest(String newTest)
          Sets the Test attribute of the LdapConfig object.
 void setUserDefinedTest(boolean value)
          Sets the UserDefinedTest attribute of the LdapConfig object.
 
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addTestElement
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapConfig

public LdapConfig()
Constructor for the LdapConfig object.

Method Detail

setRootdn

public void setRootdn(String newRootdn)
Sets the Rootdn attribute of the LdapConfig object.

Parameters:
newRootdn - the new rootdn value

getRootdn

public String getRootdn()
Gets the Rootdn attribute of the LdapConfig object.

Returns:
the Rootdn value

setTest

public void setTest(String newTest)
Sets the Test attribute of the LdapConfig object.

Parameters:
newTest - the new test value(Add,Modify,Delete and search)

getTest

public String getTest()
Gets the test attribute of the LdapConfig object.

Returns:
the test value (Add,Modify,Delete and search)

setUserDefinedTest

public void setUserDefinedTest(boolean value)
Sets the UserDefinedTest attribute of the LdapConfig object.

Parameters:
value - the new UserDefinedTest value

getUserDefinedTest

public boolean getUserDefinedTest()
Gets the UserDefinedTest attribute of the LdapConfig object.

Returns:
the test value true or false. If true it will do the UserDefinedTest else our own inbuilt test case.

setArguments

public void setArguments(Arguments value)
Sets the Arguments attribute of the LdapConfig object. This will collect values from the table for user defined test case.

Parameters:
value - the arguments

getArguments

public Arguments getArguments()
Gets the Arguments attribute of the LdapConfig object.

Returns:
the arguments. User defined test case.

getLabel

public String getLabel()
Returns a formatted string label describing this sampler.

Returns:
a formatted string label describing this sampler

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.