public interface TaskWorker<V,C> extends Observable, UIThreadWorker<V,C>
UIThreadWorker.StateValue
Modifier and Type | Method and Description |
---|---|
Long |
getFinishTimestamp() |
String |
getPhase() |
Long |
getStartedTimestamp() |
Task<V,C> |
getTask() |
boolean |
isError() |
void |
publishChunks(C... chunks) |
void |
publishProgress(int progress) |
void |
setContext(TaskContext context) |
void |
setPhase(String phase) |
execute, getProgress, getState
run
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
Long getStartedTimestamp()
Long getFinishTimestamp()
void setContext(@Nonnull TaskContext context)
boolean isError()
void publishProgress(int progress)
void publishChunks(C... chunks)