BackgroundTask that stores the result (or exception) of the task inside.
Useful for the Ai features with task aggregators (org., org.),
because it allows to use the task object as a temporary storage.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| protected final ProgressCounter | |
| private final ObjectProperty | |
| private final ObjectProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public V | |
| public void | |
| public ReadOnlyObjectProperty | |
| public Exception | |
| public V | |
| public TrackedBackgroundTask. | |
| protected abstract V | |
| public ReadOnlyObjectProperty | |
| public ReadOnlyObjectProperty | |
| private void |
| exception | back to summary |
|---|---|
| private final ObjectProperty<Exception> exception | |
| progressCounter | back to summary |
|---|---|
| protected final ProgressCounter progressCounter | |
| result | back to summary |
|---|---|
| private final ObjectProperty<V> result | |
| status | back to summary |
|---|---|
| private final ObjectProperty<TrackedBackgroundTask. | |
| TrackedBackgroundTask | back to summary |
|---|---|
| public TrackedBackgroundTask() | |
| call | back to summary |
|---|---|
| public V call() throws Exception Implements abstract org. | |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides org.
| |
| exceptionProperty | back to summary |
|---|---|
| public ReadOnlyObjectProperty | |
| getException | back to summary |
|---|---|
| public Exception getException() | |
| getResult | back to summary |
|---|---|
| public V getResult() | |
| getStatus | back to summary |
|---|---|
| public TrackedBackgroundTask. | |
| perform | back to summary |
|---|---|
| protected abstract V perform() throws Exception | |
| resultProperty | back to summary |
|---|---|
| public ReadOnlyObjectProperty | |
| statusProperty | back to summary |
|---|---|
| public ReadOnlyObjectProperty | |
| updateProgress | back to summary |
|---|---|
| private void updateProgress() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TrackedBackgroundTask. | |
| public static final TrackedBackgroundTask. | |
| public static final TrackedBackgroundTask. | |
| public static final TrackedBackgroundTask. | |
| public static final TrackedBackgroundTask. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static TrackedBackgroundTask. | |
| public static TrackedBackgroundTask. |
| CANCELLED | back to summary |
|---|---|
| public static final TrackedBackgroundTask. | |
| ERROR | back to summary |
|---|---|
| public static final TrackedBackgroundTask. | |
| PENDING | back to summary |
|---|---|
| public static final TrackedBackgroundTask. | |
| PROCESSING | back to summary |
|---|---|
| public static final TrackedBackgroundTask. | |
| SUCCESS | back to summary |
|---|---|
| public static final TrackedBackgroundTask. | |
| Status | back to summary |
|---|---|
| private Status() | |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() | |
| valueOf | back to summary |
|---|---|
| public static TrackedBackgroundTask. | |
| values | back to summary |
|---|---|
| public static TrackedBackgroundTask. | |