1 | String getRootdn() {↵ | | 1 | String getXmlPathLoc() {↵
|
2 | return getPropertyAsString(ROOTDN);↵ | | 2 | return getPropertyAsString(XML_PATH_LOC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Test attribute of the LdapConfig object.↵ | | 5 | * it's kinda obvious, but we stat↵
|
6 | * ↵ | | |
|
7 | * @param newTest↵ | | |
|
8 | * the new test value(Add,Modify,Delete and search)↵ | | 6 | e it anyways. Set the xml file with a↵
|
| | | 7 | * string path.↵
|
| | | 8 | * ↵
|
| | | 9 | * @param filename↵
|
9 | */↵ | | 10 | */↵
|
10 | public void setTest(String newTest) {↵ | | 11 | public void setXmlFile(String filename) {↵
|
11 | this.setProperty(TEST, newTest);↵ | | 12 | setProperty(XML_DATA_FILE, filename);↵
|
12 | }↵ | | 13 | }↵
|
|
13 | /**↵ | | 14 | /**↵
|
14 | * Gets the test attribute of the LDAPSampler object.↵ | | 15 | * Get the ↵
|
15 | * ↵ | | |
|
16 | * @return the test value (Add, Modify, Delete and search)↵ | | 16 | file location of the xml file.↵
|
| | | 17 | * ↵
|
| | | 18 | * @return String file path.↵
|
17 | */↵ | | 19 | */↵
|
18 | public String getTest() {↵ | | 20 | public String getXmlFile() {↵
|
19 | return getPropertyAsString(TEST);↵ | | 21 | return getPropertyAsString(XML_DATA_FILE);↵
|
20 | } | | 22 | }
|