|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.delta.AbstractTask info.magnolia.module.delta.WarnTask
public class WarnTask
A task which does nothing else than logging a warning message. Can be used to remind users about some manual operations to be done after installation/update.
Field Summary |
---|
Fields inherited from class info.magnolia.module.delta.AbstractTask |
---|
log |
Constructor Summary | |
---|---|
WarnTask(java.lang.String name,
java.lang.String warningMessage)
|
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. |
Methods inherited from class info.magnolia.module.delta.AbstractTask |
---|
getDescription, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WarnTask(java.lang.String name, java.lang.String warningMessage)
Method Detail |
---|
public void execute(InstallContext installContext) throws TaskExecutionException
Task
TaskExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |