1 | String getFailure(){↵ | | 1 | String getSuccess(){↵
|
2 | return getPropertyAsString(FAILURE);↵ | | 2 | return getPropertyAsString(SUCCESS);↵
|
3 | }↵ | | 3 | }↵
|
| | | 4 | ↵
|
4 | /**↵ | | 5 | /**↵
|
5 | * set the failure message↵ | | 6 | * set the success message↵
|
6 | * @param fail↵ | | 7 | * @param success↵
|
7 | */↵ | | 8 | */↵
|
8 | public void setFailure(String fail){↵ | | 9 | public void setSuccess(String success){↵
|
9 | setProperty(FAILURE,fail);↵ | | 10 | setProperty(SUCCESS,success);↵
|
10 | }↵ | | 11 | }↵
|
11 | ↵ | | 12 | ↵
|
12 | /**↵ | | 13 | /**↵
|
13 | * The failure code is used by other components↵ | | 14 | * get the success code defined by the user↵
|
14 | */↵ | | 15 | */↵
|
15 | public String getFailureCode(){↵ | | 16 | public String getSuccessCode(){↵
|
16 | return getPropertyAsString(FAILURECODE);↵ | | 17 | return getPropertyAsString(SUCCESSCODE);↵
|
17 | | | 18 |
|