Example #1
0
 public void taskCompleted(Task task) {
   task.setStatus(Status.completed);
 }
Example #2
0
 public void taskAbandoned(Task task) {
   task.setStatus(Status.abandoned);
 }