Interface IProcessingResult

  • All Known Implementing Classes:
    ProcessingResult

    public interface IProcessingResult
    Defines the processing result.
    • 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.