public interface Monitorable
Modifier and Type | Method and Description |
---|---|
int |
getCurrentStep()
Return the number of steps processed
|
int |
getFinalStep() |
int |
getInitialStep() |
boolean |
isDeterminatedProcess()
Tells if the process is monitoring is defined
|
void |
reportStep()
Report to monitor that an individual step
was processed.
|
void |
reset()
Sets initial default monitorization values
|
void |
setCurrentStep(int currentStep)
Allows to modify current step.
|
void |
setDeterminatedProcess(boolean defined)
Reports to the monitor that the process is
monitoring is (or not) a defined process.
|
void |
setFinalStep(int step)
report monitor what number has the final
step of the process is monitoring
(no apply to undefined process)
|
void |
setInitialStep(int step)
report monitor what number has the initial
step of the process is monitoring
|
void reportStep()
int getCurrentStep()
void setCurrentStep(int currentStep)
void setInitialStep(int step)
step
- int getInitialStep()
int getFinalStep()
void setFinalStep(int step)
step
- void setDeterminatedProcess(boolean defined)
defined
- boolean isDeterminatedProcess()
void reset()