public interface ProgressListener
| Modifier and Type | Method and Description |
|---|---|
void |
nextStep(String stepName,
int step,
int subSteps)
Invoked when an action step starts.
|
void |
progress(int subStep,
String message)
Invoked to notify progress.
|
void |
progress(String message)
Invoked to notify progress.
|
void |
restartAction(String name,
String overallMessage,
String tip,
int steps)
Invoked when an action restarts.
|
void |
setSubStepNo(int subSteps)
Sets the number of sub-steps.
|
void |
startAction(String name,
int steps)
Invoked when an action starts.
|
void |
stopAction()
Invoked when an action finishes.
|
void startAction(String name, int steps)
name - the name of the actionsteps - the number of steps the action consists ofvoid stopAction()
void nextStep(String stepName, int step, int subSteps)
stepName - the name of the stepstep - the step numbersubSteps - the number of sub-steps the step consists ofvoid setSubStepNo(int subSteps)
subSteps - the number of sub-stepsvoid progress(String message)
message - a message describing the stepvoid progress(int subStep,
String message)
subStep - the sub-step which will be performed nextmessage - an additional message describing the sub-stepvoid restartAction(String name, String overallMessage, String tip, int steps)
name - the name of the actionoverallMessage - a message describing the overall progresstip - a tip describing the current progresssteps - the number of steps the action consists ofCopyright © 2001–2025. All rights reserved.