1 | String getMatchNumberAsString() {↵ | | 1 | String getPort() {↵
|
2 | return getPropertyAsString(MATCH_NUMBER);↵ | | 2 | return getPropertyAsString(PORT);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the value of the variable if no matches are found↵ | | 5 | * Sets the Rootdn attribute of ↵
|
6 | * ↵ | | |
|
7 | * @param defaultV↵ | | 6 | the LDAPSampler object.↵
|
| | | 7 | * ↵
|
| | | 8 | * @param newRootdn↵
|
8 | alue↵ | | 9 | * the new rootdn value↵
|
9 | */↵ | | 10 | */↵
|
10 | public void setDefaultValue(String defaultValue) {↵ | | 11 | public void setRootdn(String newRootdn) {↵
|
11 | setProperty(DEFAULT, defaultValue);↵ | | 12 | this.setProperty(↵
|
12 | }↵ | | |
|
| | | 13 | ROOTDN, newRootdn);↵
|
| | | 14 | }↵
|
|
| | | 15 | /**↵
|
| | | 16 | * Gets the Rootdn attribute of the LDAPSampler object.↵
|
| | | 17 | * ↵
|
| | | 18 | * @return the Rootdn value↵
|
| | | 19 | */↵
|
13 | public String getDefaultValue() {↵ | | 20 | public String getRootdn() {↵
|
14 | return getPropertyAsString(DEFAULT);↵ | | 21 | return getPropertyAsString(ROOTDN);↵
|
15 | | | 22 |
|