Groovy Documentation

griffon.plugins.tasks
[Java] Enum Task.State

java.lang.Object
  griffon.plugins.tasks.Task.State

public enum Task.State

Authors:
Eike Kettner
Since:
20.07.11 00:27


Enum Constant Summary
CANCELLED

DONE

FAILED

PENDING

STARTED

 
Field Summary
private boolean finalState

A long-running task.

 
Method Summary
def State(boolean finalState)

boolean isFinalState()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

CANCELLED

Task.State CANCELLED


DONE

Task.State DONE


FAILED

Task.State FAILED


PENDING

Task.State PENDING


STARTED

Task.State STARTED


 
Field Detail

finalState

private final boolean finalState
A long-running task.

The contract is this of UIThreadWorker with the difference that in case of an execution exception the failed(Throwable) method is invoked and done(Object) is not.

Authors:
Eike Kettner
Since:
19.07.11 22:13


 
Method Detail

State

def State(boolean finalState)


isFinalState

public boolean isFinalState()


 

Groovy Documentation