com.anaptecs.jeaf.services.scheduling.TaskState Maven / Gradle / Ivy
package com.anaptecs.jeaf.services.scheduling;
/**
* Enumeration describes the possible states of scheduled task.
*/
public enum TaskState {
/**
* The task has been scheduled.
*/
SCHEDULED,
/**
* The task has been locked by the scheduler in order to execute it.
*/
LOCKED,
/**
* The task has been executed and will not be scheduled again.
*/
EXECUTED,
/**
* The task has been stopped.
*/
STOPPED;
/**
* Initialize object.
*/
private TaskState( ) {
}
}