|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstallationContext
Context for the installation tasks.
The context is passed into an InstallTask
during
execution of a task. The task can schedule tasks to the
current or next execution cycle.
In addition access to an audit log is provided. The task
should make an entry into the log each time a task has
succeeded like something has been installed, updated or
deleted.
Method Summary | |
---|---|
void |
addTaskToCurrentCycle(InstallTask t)
Schedule a task for execution in the current cycle. |
void |
addTaskToNextCycle(InstallTask t)
Schedule a task for execution in the next cycle, usually to indicate that a task must be retried or the current task is finished and another task has to be run. |
void |
log(String message,
Object... args)
Make an entry into the audit log - this should be invoked by the tasks whenever something has been installed/uninstalled etc. |
Method Detail |
---|
void addTaskToCurrentCycle(InstallTask t)
void addTaskToNextCycle(InstallTask t)
void log(String message, Object... args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |