Package org.apache.maven.api.cache
Interface CacheMetadata
- All Known Implementing Classes:
DefaultModelBuilder.SourceCacheKey
Interface defining metadata for cache behavior and lifecycle management.
Implementations can specify how long cached data should be retained.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cache retention that should be applied to the associated data.
-
Method Details
-
getCacheRetention
Returns the cache retention that should be applied to the associated data.- Returns:
- The CacheRetention indicating how long data should be retained, or null if no specific cache retention is defined
-