private TaskActivity createSuccess() {
   return new TaskActivity(SUCCESS.getValue(), TASK_ID, SUCCESS);
 }
Beispiel #2
0
 public static boolean isSuccess(Integer status) {
   return status != null && SUCCESS.getValue() == status;
 }