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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidend(SpoonProgress.Process process)is called when a new process is starteddefault voidstart(SpoonProgress.Process process)is called when a new process is starteddefault voidstep(SpoonProgress.Process process, String task)is called when a step in the precess is starteddefault voidstep(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
-