public abstract class Task
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL |
static int |
DONE |
static int |
ERROR |
static int |
GO |
protected int |
state |
| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
abstract int |
go(boolean canceled) |
void |
run() |
public static final int ERROR
public static final int CANCEL
public static final int GO
public static final int DONE
protected int state