1 | void setServername(String servername) {↵ | | 1 | void setUsername(String username) {↵
|
2 | setProperty(new StringProperty(SERVERNAME, servername));↵ | | 2 | setProperty(new StringProperty(ConfigTestElement.USERNAME, username));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /***************************************************************************↵ | | 4 | /**↵
|
5 | * Sets the Port attribute of the ServerConfig object↵ | | 5 | * Sets the Password attribute of the LoginConfig object.↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param port↵ | | 7 | * @param password↵
|
8 | * The new Port value↵ | | 8 | * the new Password value↵
|
9 | **************************************************************************/↵ | | 9 | */↵
|
10 | public void setPort(String port) {↵ | | 10 | public void setPassword(String password) {↵
|
11 | setProperty(new StringProperty(PORT, port));↵ | | 11 | setProperty(new StringProperty(ConfigTestElement.PASSWORD, password));↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /***************************************************************************↵ | | 13 | /**↵
|
14 | * Gets the servername attribute of the LDAPSampler object↵ | | 14 | * Gets the Username attribute of the LoginConfig object.↵
|
15 | * ↵ | | 15 | * ↵
|
16 | * @return The Servername value↵ | | 16 | * @return the Username value↵
|
17 | **************************************************************************/↵ | | 17 | *↵
|
| | | 18 | /↵
|
18 | public String getServername() {↵ | | 19 | public String getUsername() {↵
|
19 | return getPropertyAsString(SERVERNAME);↵ | | 20 | return getPropertyAsString(↵
|
20 | }↵ | | |
|
|
21 | /*************************************************************************↵ | | 21 | ConfigTestElement.USERNAME);↵
|
| | | 22 | }↵
|
|
22 | **↵ | | 23 | /**↵
|
23 | * Gets the Port attribute of the LDAPSampler object↵ | | 24 | * Gets the Password attribute of the LoginConfig object.↵
|
24 | * ↵ | | 25 | * ↵
|
25 | * @return The Port value↵ | | 26 | * @return the Password value↵
|
26 | **************************************************************************/↵ | | 27 | */↵
|
|
27 | public String getPort() {↵ | | 28 | public String getPassword() {↵
|
28 | return getPropertyAsString(PORT);↵ | | 29 | return getPropertyAsString(ConfigTestElement.PASSWORD);↵
|
29 | } | | 30 | }
|