Interface SpoonProgress

All Known Implementing Classes:
ProgressLogger

public interface SpoonProgress
is the interface to follow the progress of the creation of the Spoon model. All methods have a default implementation doing nothing to avoid the need checking for null
  • Method Details

    • start

      default void start(SpoonProgress.Process process)
      is called when a new process is started
      Parameters:
      process - the started process
    • step

      default void step(SpoonProgress.Process process, String task, int taskId, int nbTask)
      is called when a step in the precess is started
      Parameters:
      process - the current process
      task - the task that has been processed
      taskId - the task id
      nbTask - the number of task in the process
    • step

      default void step(SpoonProgress.Process process, String task)
      is called when a step in the precess is started
      Parameters:
      process - the current process
      task - the task that has been processed
    • end

      default void end(SpoonProgress.Process process)
      is called when a new process is started
      Parameters:
      process - the finished process