Package com.chemaxon.calculations.common
Interface SubProgressObserver
-
- All Superinterfaces:
AutoCloseable
,CancelObserver
,ProgressObserver
@Beta @PublicAPI @Deprecated public interface SubProgressObserver extends ProgressObserver
Deprecated.UseProgressObserver
instead. Will be removed.Observer for reporting the progress of subtasks.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 (usingProgressObserver.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.
-
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static SubProgressObserver
from(ProgressObserver delegate)
Deprecated.Creates a delegator to the givenProgressObserver
.-
Methods inherited from interface com.chemaxon.calculations.common.CancelObserver
isCancelled
-
Methods inherited from interface com.chemaxon.calculations.common.ProgressObserver
close, done, subTask, switchToDeterminate, worked, workUnit
-
-
-
-
Method Detail
-
from
static SubProgressObserver from(ProgressObserver delegate)
Deprecated.Creates a delegator to the givenProgressObserver
. Note: this is a helper method to get rid of this deprecated class incrementally.
-
-