Package org.mycore.common.processing
Interface MCRProgressable
- All Known Subinterfaces:
MCRListenableProgressable
,MCRProcessable
- All Known Implementing Classes:
MCRAbstractProcessable
,MCRAbstractProgressable
,MCRJobThread
,MCRProcessableSupplier
,MCRProcessableTask
,MCRUploadHandler
,MCRUploadHandlerIFS
public interface MCRProgressable
Interface to apply a progress to a process.
- Author:
- Matthias Eichner
-
Method Summary
Modifier and TypeMethodDescriptionReturns a value between 0-100 which determines the progress.Returns a human readable text indicating the state of the progress.
-
Method Details
-
getProgress
Integer getProgress()Returns a value between 0-100 which determines the progress. Can return null if the process is not started yet.- Returns:
- the progress between 0-100 or null
-
getProgressText
String getProgressText()Returns a human readable text indicating the state of the progress.- Returns:
- progress text
-