Package org.mycore.common.processing
Interface MCRProgressableListener
- All Superinterfaces:
EventListener
Base interface to listen to
MCRProgressable
changes.- Author:
- Matthias Eichner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onProgressChange
(MCRProgressable source, Integer oldProgress, Integer newProgress) Is fired when the progress of theMCRProgressable
has changed.void
onProgressTextChange
(MCRProgressable source, String oldProgressText, String newProgressText) Is fired when the progress text of theMCRProgressable
has changed.
-
Method Details
-
onProgressChange
Is fired when the progress of theMCRProgressable
has changed.- Parameters:
source
- the sourceMCRProgressable
oldProgress
- the old progressnewProgress
- the new progress
-
onProgressTextChange
Is fired when the progress text of theMCRProgressable
has changed.- Parameters:
source
- the sourceMCRProgressable
oldProgressText
- the old progress textnewProgressText
- the new progress text
-