Interface IProcessingResult
-
- All Known Implementing Classes:
ProcessingResult
public interface IProcessingResultDefines the processing result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()Get the idjava.lang.StringgetName()Get the namelonggetNumberOfFailedUnits()Gets the number of failed units.longgetNumberOfProcessedUnits()Gets the number of processed units (failed units included).longgetNumberOfSuccessfulUnits()Gets the number of successful units.IProcessingStatisticgetProcesingStatistic()The processing statistic.longgetProcessingDuration()Get the processing duration in milliseconds (excluded possible suspending)com.github.toolarium.processing.unit.dto.ProcessingRuntimeStatusgetProcessingRuntimeStatus()The processing runtime status which covers the overall statusjava.lang.StringgetProcessingUnitClassname()Get the processing unit class nameintgetProgress()Get the progressjava.time.InstantgetStartTimestamp()Get the start time stampjava.util.List<java.lang.String>getStatusMessageList()Returns the processing status messagejava.time.InstantgetStopTimestamp()Get the end time stamp when it has endedbooleanisAborted()True if the processing is aborted
-
-
-
Method Detail
-
getId
java.lang.String getId()
Get the id- Returns:
- the id
-
getName
java.lang.String getName()
Get the name- Returns:
- the name
-
getProcessingUnitClassname
java.lang.String getProcessingUnitClassname()
Get the processing unit class name- Returns:
- the processing unit class name
-
getStartTimestamp
java.time.Instant getStartTimestamp()
Get the start time stamp- Returns:
- the start time stamp
-
getStopTimestamp
java.time.Instant getStopTimestamp()
Get the end time stamp when it has ended- Returns:
- the end time stamp
-
getProcessingDuration
long getProcessingDuration()
Get the processing duration in milliseconds (excluded possible suspending)- Returns:
- the processing duration in milliseconds
-
isAborted
boolean isAborted()
True if the processing is aborted- Returns:
- true if it is aborted
-
getNumberOfProcessedUnits
long getNumberOfProcessedUnits()
Gets the number of processed units (failed units included).- Returns:
- the number of processed units (failed units included).
-
getNumberOfSuccessfulUnits
long getNumberOfSuccessfulUnits()
Gets the number of successful units.- Returns:
- the number of successful units.
-
getNumberOfFailedUnits
long getNumberOfFailedUnits()
Gets the number of failed units.- Returns:
- the number of failed units.
-
getProgress
int getProgress()
Get the progress- Returns:
- the progress
-
getProcessingRuntimeStatus
com.github.toolarium.processing.unit.dto.ProcessingRuntimeStatus getProcessingRuntimeStatus()
The processing runtime status which covers the overall status- Returns:
- the processing status type.
-
getStatusMessageList
java.util.List<java.lang.String> getStatusMessageList()
Returns the processing status message- Returns:
- the processing status message
-
getProcesingStatistic
IProcessingStatistic getProcesingStatistic()
The processing statistic.- Returns:
- the processing statistic.
-
-