|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TaskPackageEnableCallback
This interface defines a callback that is called by a TaskPackage
just before and just after it enables itself. A
ScriptExecutor may use this to prepare
the environment.
The ScriptExecutor registers its
callback using the
TaskPackageManager.registerTaskPackageEnableCallback(TaskPackageEnableCallback)
method.
| Method Summary | |
|---|---|
void |
postEnable(TaskPackage tp,
Report r)
This method is called just after the task package has enabled itself. |
void |
preEnable(TaskPackage tp,
Report r)
This method is called just before the task package enables itself. |
| Method Detail |
|---|
void preEnable(TaskPackage tp,
Report r)
throws RuntimeException
tp - The task package.r - The current report.
RuntimeException - Or any subclass on errors.
void postEnable(TaskPackage tp,
Report r)
throws RuntimeException
tp - The task package.r - The current report.
RuntimeException - Or any subclass on errors.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||