1 | void setDefaultValue(String defaultValue) {↵ | | 1 | void set↵
|
2 | setProperty(DEFAULT, defaultValue);↵ | | |
|
3 | }↵ | | |
|
| | | 2 | Password(String pwd) {↵
|
| | | 3 | setProperty(CREDENTIALS, pwd);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the password used to login to the jms server↵
|
| | | 7 | * ↵
|
| | | 8 | * @return the password used to login to the jms server↵
|
| | | 9 | */↵
|
4 | public String getDefaultValue() {↵ | | 10 | public String getPassword() {↵
|
5 | return getPropertyAsString(DEFAULT);↵ | | 11 | return getPropertyAsString(↵
|
6 | }↵ | | |
|
| | | 12 | CREDENTIALS);↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * set the number of iterations the sampler should aggregate↵
|
| | | 16 | * ↵
|
| | | 17 | * @param count↵
|
| | | 18 | */↵
|
7 | public void setTemplate(String template) {↵ | | 19 | public void setIterations(String count) {↵
|
8 | setProperty(TEMPLATE, template);↵ | | 20 | setProperty(ITE↵
|
9 | }↵ | | |
|
| | | 21 | RATIONS, count);↵
|
| | | 22 | }↵
|
|
| | | 23 | /**↵
|
| | | 24 | * get the iterations as string↵
|
| | | 25 | * ↵
|
| | | 26 | * @return the number of iterations↵
|
| | | 27 | */↵
|
10 | public String getTemplate() {↵ | | 28 | public String getIterations() {↵
|
11 | return getPropertyAsString(TEMPLATE);↵ | | 29 | return getPropertyAsString(ITERATIONS);↵
|
12 | | | 30 |
|