public abstract static class Task.Backgroundable extends Task implements PerformInBackgroundOption
Task.Backgroundable, Task.ConditionalModal, Task.Modal, Task.NotificationInfo, Task.WithResult<T,E extends java.lang.Exception>| Modifier and Type | Field and Description |
|---|---|
protected PerformInBackgroundOption |
myBackgroundOption |
ALWAYS_BACKGROUND, DEAF| Constructor and Description |
|---|
Backgroundable(Project project,
java.lang.String title) |
Backgroundable(Project project,
java.lang.String title,
boolean canBeCancelled) |
Backgroundable(Project project,
java.lang.String title,
boolean canBeCancelled,
PerformInBackgroundOption backgroundOption) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConditionalModal() |
boolean |
isModal() |
void |
processSentToBackground() |
boolean |
shouldStartInBackground() |
asBackgroundable, asModal, getCancelText, getCancelTooltipText, getNotificationInfo, getProject, getTitle, isCancellable, isHeadless, notifyFinished, onCancel, onError, onFinished, onSuccess, onThrowable, queue, setCancelText, setCancelTooltipText, setTitle, whereToRunCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprotected final PerformInBackgroundOption myBackgroundOption
public Backgroundable(Project project, java.lang.String title)
public Backgroundable(Project project, java.lang.String title, boolean canBeCancelled)
public Backgroundable(Project project, java.lang.String title, boolean canBeCancelled, PerformInBackgroundOption backgroundOption)
public boolean shouldStartInBackground()
shouldStartInBackground in interface PerformInBackgroundOptionpublic void processSentToBackground()
processSentToBackground in interface PerformInBackgroundOptionpublic boolean isConditionalModal()