Class ProgressLogger

java.lang.Object
spoon.support.compiler.ProgressLogger
All Implemented Interfaces:
SpoonProgress

public class ProgressLogger extends Object implements SpoonProgress
  • Constructor Details

    • ProgressLogger

      public ProgressLogger(Environment environment)
  • Method Details

    • start

      public void start(SpoonProgress.Process process)
      Description copied from interface: SpoonProgress
      is called when a new process is started
      Specified by:
      start in interface SpoonProgress
      Parameters:
      process - the started process
    • step

      public void step(SpoonProgress.Process process, String task, int taskId, int nbTask)
      Description copied from interface: SpoonProgress
      is called when a step in the precess is started
      Specified by:
      step in interface SpoonProgress
      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

      public void step(SpoonProgress.Process process, String task)
      Description copied from interface: SpoonProgress
      is called when a step in the precess is started
      Specified by:
      step in interface SpoonProgress
      Parameters:
      process - the current process
      task - the task that has been processed
    • end

      public void end(SpoonProgress.Process process)
      Description copied from interface: SpoonProgress
      is called when a new process is started
      Specified by:
      end in interface SpoonProgress
      Parameters:
      process - the finished process