1 | void setDefaultValue(String defaultValue) {↵ | | 1 | void set↵
|
2 | setProperty(DEFAULT, defaultValue);↵ | | |
|
3 | }↵ | | |
|
| | | 2 | RandomPath(String path) {↵
|
| | | 3 | setProperty(RANDOM_PATH, path);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the random path for messages↵
|
| | | 7 | * ↵
|
| | | 8 | */↵
|
4 | public String getDefaultValue() {↵ | | 9 | public String getRandomPath() {↵
|
5 | return getPropertyAsString(DEFAULT);↵ | | 10 | return getPropertyAsString(↵
|
6 | }↵ | | |
|
| | | 11 | RANDOM_PATH);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * set the text for the message↵
|
| | | 15 | * ↵
|
| | | 16 | * @param message↵
|
| | | 17 | */↵
|
7 | public void setTemplate(String template) {↵ | | 18 | public void setTextMessage(String message) {↵
|
8 | setProperty(TEMPLATE, template);↵ | | 19 | setProperty(TE↵
|
9 | }↵ | | |
|
| | | 20 | XT_MSG, message);↵
|
| | | 21 | }↵
|
|
| | | 22 | /**↵
|
| | | 23 | * return the text for the message↵
|
| | | 24 | * ↵
|
| | | 25 | */↵
|
10 | public String getTemplate() {↵ | | 26 | public String getTextMessage() {↵
|
11 | return getPropertyAsString(TEMPLATE);↵ | | 27 | return getPropertyAsString(TEXT_MSG);↵
|
12 | } | | 28 | }
|