|
||||||||||
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.cache.RegisterWorkspaceForCacheFlushingTask
public class RegisterWorkspaceForCacheFlushingTask
Adds repository to the list of repositories observed for cache flushing upon activation. Tasks checks for existence of the repository in the list before adding it so it is safe to execute multiple times.
Field Summary |
---|
Fields inherited from class info.magnolia.module.delta.AbstractTask |
---|
log |
Constructor Summary | |
---|---|
RegisterWorkspaceForCacheFlushingTask(java.lang.String workspaceName)
|
Method Summary | |
---|---|
void |
execute(InstallContext ctx)
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 |
Methods inherited from interface info.magnolia.module.delta.Task |
---|
getDescription, getName |
Constructor Detail |
---|
public RegisterWorkspaceForCacheFlushingTask(java.lang.String workspaceName)
Method Detail |
---|
public void execute(InstallContext ctx) throws TaskExecutionException
Task
execute
in interface Task
TaskExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |