1 package ch.busyboxes.agoo.model.enumeration; 2 3 /** 4 * Possible states of a given task 5 * 6 * @author julien@busyboxes.ch 7 */ 8 public enum TaskState { 9 10 /** 11 * This task is waiting to be executed 12 */ 13 PENDING, 14 15 /** 16 * This task is currently being executed 17 */ 18 RUNNING, 19 20 /** 21 * This task finished with an error 22 */ 23 ERROR 24 25 }