Package spoon.support.compiler
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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
end(SpoonProgress.Process process)
is called when a new process is starteddefault void
start(SpoonProgress.Process process)
is called when a new process is starteddefault void
step(SpoonProgress.Process process, String task)
is called when a step in the precess is starteddefault void
step(SpoonProgress.Process process, String task, int taskId, int nbTask)
is called when a step in the precess is started
-
Method Details
-
start
is called when a new process is started- Parameters:
process
- the started process
-
step
is called when a step in the precess is started- Parameters:
process
- the current processtask
- the task that has been processedtaskId
- the task idnbTask
- the number of task in the process
-
step
is called when a step in the precess is started- Parameters:
process
- the current processtask
- the task that has been processed
-
end
is called when a new process is started- Parameters:
process
- the finished process
-