public interface Task
extends java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
RESULT_ERROR
Task completed with error(s)
use
getMessages() for details |
static int |
RESULT_OK
Task completed normally
|
static int |
RESULT_WARNING
Task completed with warning(s)
use
getMessages() for details |
| Modifier and Type | Method and Description |
|---|---|
java.util.Stack |
getMessages()
get the Stack of messages with either errors or warnings generated by this Task
|
int |
getResult()
|
boolean |
isFinished()
indicate the Task has finished
|
void |
setFinished(boolean b)
set the task finished
|
static final int RESULT_OK
static final int RESULT_ERROR
getMessages() for detailsstatic final int RESULT_WARNING
getMessages() for detailsboolean isFinished()
void setFinished(boolean b)
b - int getResult()
java.util.Stack getMessages()