Package spoon.support.compiler
Class ProgressLogger
- java.lang.Object
-
- spoon.support.compiler.ProgressLogger
-
- All Implemented Interfaces:
SpoonProgress
public class ProgressLogger extends Object implements SpoonProgress
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface spoon.support.compiler.SpoonProgress
SpoonProgress.Process
-
-
Constructor Summary
Constructors Constructor Description ProgressLogger(Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(SpoonProgress.Process process)
is called when a new process is startedvoid
start(SpoonProgress.Process process)
is called when a new process is startedvoid
step(SpoonProgress.Process process, String task)
is called when a step in the precess is startedvoid
step(SpoonProgress.Process process, String task, int taskId, int nbTask)
is called when a step in the precess is started
-
-
-
Constructor Detail
-
ProgressLogger
public ProgressLogger(Environment environment)
-
-
Method Detail
-
start
public void start(SpoonProgress.Process process)
Description copied from interface:SpoonProgress
is called when a new process is started- Specified by:
start
in interfaceSpoonProgress
- 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 interfaceSpoonProgress
- Parameters:
process
- the current processtask
- the task that has been processedtaskId
- the task idnbTask
- 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 interfaceSpoonProgress
- Parameters:
process
- the current processtask
- 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 interfaceSpoonProgress
- Parameters:
process
- the finished process
-
-