Package org.ametys.site
Class InvalidateImagesAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
- Direct Known Subclasses:
InvalidateSharedResourcesImageAction
Invalidates cached images for a given site.
-
Field Summary
Fields inherited from class org.ametys.site.InvalidatePageAction
_logger
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) protected File[]
Get the list of image files to invalidateMethods inherited from class org.ametys.site.InvalidatePageAction
_getCacheAccessManager, invalidatePage
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
InvalidateImagesAction
public InvalidateImagesAction()
-
-
Method Details
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
act
in interfaceAction
- Overrides:
act
in classInvalidatePageAction
- Throws:
Exception
-
getImages
Get the list of image files to invalidate- Parameters:
root
- the root cache folderimagePath
- the image path- Returns:
- the image files to invalidate
-