Package com._1c.g5.v8.internal.derived
Class DerivedDataProgressReporter
java.lang.Object
com._1c.g5.v8.internal.derived.DerivedDataProgressReporter
- All Implemented Interfaces:
IDerivedDataStatusListener
Listener that responsible for reporting progress using standard mechanisms.
-
Constructor Summary
ConstructorsConstructorDescriptionDerivedDataProgressReporter
(IDerivedDataManager derivedDataManager) Creates an instance of the progress reporter. -
Method Summary
Modifier and TypeMethodDescriptionvoid
start()
Starts listening derived data status changes.void
statusChanged
(DerivedDataStatus status) Notifies external listeners about status changes of DD.void
stop()
Stops listening derived data status changes.
-
Constructor Details
-
DerivedDataProgressReporter
Creates an instance of the progress reporter.- Parameters:
derivedDataManager
- The reference to the DD manager being used for communications.
-
-
Method Details
-
start
public void start()Starts listening derived data status changes. -
statusChanged
Description copied from interface:IDerivedDataStatusListener
Notifies external listeners about status changes of DD. The context is defined by the origin of the listener registrationIDerivedDataManager.addStatusListener(IDerivedDataStatusListener)
- Specified by:
statusChanged
in interfaceIDerivedDataStatusListener
- Parameters:
status
- The new status of the DD. May bot benull
-
stop
public void stop()Stops listening derived data status changes.
-