Class ProgressReporter

    • Method Detail

      • getAsyncOperationResult

        public OperationResult getAsyncOperationResult()
      • getRefreshInterval

        public int getRefreshInterval()
      • isAsynchronousExecution

        public boolean isAsynchronousExecution()
      • isAbortEnabled

        public boolean isAbortEnabled()
      • setWriteOpResultForProgressActivity

        public void setWriteOpResultForProgressActivity​(boolean writeOpResultForProgressActivity)
      • setAsyncOperationResult

        public void setAsyncOperationResult​(OperationResult asyncOperationResult)
      • setRefreshInterval

        public void setRefreshInterval​(int refreshInterval)
      • setAsynchronousExecution

        public void setAsynchronousExecution​(boolean asynchronousExecution)
      • setAbortEnabled

        public void setAbortEnabled​(boolean abortEnabled)
      • recordExecutionStart

        public void recordExecutionStart()
      • recordExecutionStop

        public void recordExecutionStop()
      • getOperationStartTime

        public long getOperationStartTime()
      • getOperationDurationTime

        public long getOperationDurationTime()
      • onProgressAchieved

        public void onProgressAchieved​(ModelContext modelContext,
                                       ProgressInformation progressInformation)
        Description copied from interface: ProgressListener
        Reports a progress achieved. The idea is to provide as much information as practically possible, so the client could take whatever it wants. Obviously, the method should not take too much time in order not to slow down the main execution routine.
        Specified by:
        onProgressAchieved in interface ProgressListener
        Parameters:
        modelContext - Current context of the model operation.
        progressInformation - Specific progress information.
      • setAbortRequested

        public void setAbortRequested​(boolean value)