Class ProcessingResult

    • Constructor Detail

      • ProcessingResult

        public ProcessingResult()
    • Method Detail

      • setId

        public void setId​(java.lang.String id)
        Set the id
        Parameters:
        id - the id
      • setName

        public void setName​(java.lang.String name)
        Set the name
        Parameters:
        name - the name
      • setProcessingUnitClassname

        public void setProcessingUnitClassname​(java.lang.String processingUnitClassname)
        Set the processing unit class name
        Parameters:
        processingUnitClassname - the processing unit class name
      • setStartTimestamp

        public void setStartTimestamp​(java.time.Instant startTimestamp)
        Set the start time stamp
        Parameters:
        startTimestamp - the start time stamp
      • setStopTimestamp

        public void setStopTimestamp​(java.time.Instant stopTimestamp)
        Set the stop time stamp
        Parameters:
        stopTimestamp - the stop time stamp
      • setProcessingDuration

        public void setProcessingDuration​(long durationInMilliseconds)
        Set the processing duration
        Parameters:
        durationInMilliseconds - the processing duration
      • setNumberOfProcessedUnits

        public void setNumberOfProcessedUnits​(long numberOfProcessedUnits)
        Set the number of processed units
        Parameters:
        numberOfProcessedUnits - the number of processed units
      • setNumberOfSuccessfulUnits

        public void setNumberOfSuccessfulUnits​(long numberOfSuccessfulUnits)
        Set the number of successful units
        Parameters:
        numberOfSuccessfulUnits - the number of successful units
      • setNumberOfFailedUnits

        public void setNumberOfFailedUnits​(long numberOfFailedUnits)
        Set the number of failed processed units
        Parameters:
        numberOfFailedUnits - the number of failed processed units
      • setProgress

        public void setProgress​(int progress)
        Set the progress in percentage
        Parameters:
        progress - the progress in percentage
      • setProcessingRuntimeStatus

        public void setProcessingRuntimeStatus​(com.github.toolarium.processing.unit.dto.ProcessingRuntimeStatus processingRuntimeStatus)
        Set the processing runtime status
        Parameters:
        processingRuntimeStatus - the processing runtime status
      • setIsAborted

        public void setIsAborted​(boolean isAborted)
        Set is aborted
        Parameters:
        isAborted - the true if it is aborted
      • setStatusMessageList

        public void setStatusMessageList​(java.util.List<java.lang.String> statusMessageList)
        Set the status message list
        Parameters:
        statusMessageList - the status message list
      • setProcessingStatistic

        public void setProcessingStatistic​(IProcessingStatistic processingStatistic)
        Set the processing statistic
        Parameters:
        processingStatistic - the processing statistic
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()