info.magnolia.module.cache
Class RegisterWorkspaceForCacheFlushingTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.cache.RegisterWorkspaceForCacheFlushingTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
public class RegisterWorkspaceForCacheFlushingTask
- extends info.magnolia.module.delta.AbstractTask
- implements info.magnolia.module.delta.Task
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.
- Author:
- had
Fields inherited from class info.magnolia.module.delta.AbstractTask |
log |
Method Summary |
void |
execute(info.magnolia.module.InstallContext ctx)
|
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
Methods inherited from interface info.magnolia.module.delta.Task |
getDescription, getName |
RegisterWorkspaceForCacheFlushingTask
public RegisterWorkspaceForCacheFlushingTask(String workspaceName)
execute
public void execute(info.magnolia.module.InstallContext ctx)
throws info.magnolia.module.delta.TaskExecutionException
- Specified by:
execute
in interface info.magnolia.module.delta.Task
- Throws:
info.magnolia.module.delta.TaskExecutionException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.