Package io.wcm.wcm.commons.caching
Class ResourceModificationDateProvider
- java.lang.Object
-
- io.wcm.wcm.commons.caching.ResourceModificationDateProvider
-
- All Implemented Interfaces:
ModificationDateProvider
@ProviderType public final class ResourceModificationDateProvider extends java.lang.Object implements ModificationDateProvider
ModificationDateProvider
for aResource
object.
-
-
Constructor Summary
Constructors Constructor Description ResourceModificationDateProvider(@Nullable org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.util.Date
getModificationDate()
-
-
-
Method Detail
-
getModificationDate
@Nullable public @Nullable java.util.Date getModificationDate()
- Specified by:
getModificationDate
in interfaceModificationDateProvider
- Returns:
- The date of the last modification
-
-