ProgressObserver
instead. Will be removed.@Beta @PublicAPI @Deprecated public interface SubProgressObserver extends ProgressObserver
This observer is intended to follow the executions of subtasks (using
ProgressObserver.subTask(java.lang.String, long)
). The only additional constraint is that the explicit
signalling of finisging the work (using ProgressObserver.done()
is required; usually by the
host task.
Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in any of the later releases.
Modifier and Type | Method and Description |
---|---|
static SubProgressObserver |
from(ProgressObserver delegate)
Deprecated.
Creates a delegator to the given
ProgressObserver . |
close, done, subTask, switchToDeterminate, worked, workUnit
isCancelled
static SubProgressObserver from(ProgressObserver delegate)
ProgressObserver
.
Note: this is a helper method to get rid of this deprecated class incrementally.