Interface ProgressListener


  • public interface ProgressListener
    An interface that model uses to report operation progress to any interested party (e.g. GUI or WS client). Useful for long-running operations, like provisioning a focus object with many projections. EXPERIMENTAL.
    Author:
    mederly
    • Method Detail

      • onProgressAchieved

        void onProgressAchieved​(ModelContext modelContext,
                                ProgressInformation progressInformation)
        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.
        Parameters:
        modelContext - Current context of the model operation.
        progressInformation - Specific progress information.
      • isAbortRequested

        boolean isAbortRequested()