|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
A Task represents an atomic operation to be performed when installing, updating or uninstalling a module, as part of a Delta. TODO : add mandatoryness ?
Delta
Method Summary | |
---|---|
void |
execute(InstallContext installContext)
A good-citizen task should execute itself responsibly: it should know what to do in case of problems: for instance, fixable or irrelevant issues should usually just be logged used the InstallContext methods, when the user can fix them later on. |
java.lang.String |
getDescription()
Description what will happen during the execution. |
java.lang.String |
getName()
Description of what has changed. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getDescription()
void execute(InstallContext installContext) throws TaskExecutionException
TaskExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |