org.jboss.windup.web.services.model.ExecutionState Maven / Gradle / Ivy
The newest version!
package org.jboss.windup.web.services.model;
/**
* @author Jesse Sightler
*/
public enum ExecutionState
{
QUEUED,
STARTED,
COMPLETED,
FAILED,
CANCELLED;
/**
* This indicates whether processing has ceased for some reason. This includes a normal completion, as well
* as failure or cancellation of the task.
*
* @return
*/
public boolean isDone()
{
return this == COMPLETED || this == FAILED || this == CANCELLED;
}
}