Uses of Record Class
org.apache.maven.impl.cache.PartialCacheConfig
Packages that use PartialCacheConfig
-
Uses of PartialCacheConfig in org.apache.maven.impl.cache
Methods in org.apache.maven.impl.cache that return PartialCacheConfigModifier and TypeMethodDescriptionstatic PartialCacheConfigPartialCacheConfig.complete(CacheRetention scope, Cache.ReferenceType referenceType) Creates a complete partial configuration with both scope and reference type.CacheSelector.config()Returns the value of theconfigrecord component.PartialCacheConfig.mergeWith(PartialCacheConfig other) Merges this configuration with another, with this configuration taking precedence for non-null values.static PartialCacheConfigPartialCacheConfig.withReferenceType(Cache.ReferenceType referenceType) Creates a partial configuration with only reference type specified.static PartialCacheConfigPartialCacheConfig.withScope(CacheRetention scope) Creates a partial configuration with only scope specified.Methods in org.apache.maven.impl.cache with parameters of type PartialCacheConfigModifier and TypeMethodDescriptionstatic CacheSelectorCacheSelector.forParentAndRequestType(String parentRequestType, String requestType, PartialCacheConfig config) Creates a selector that matches requests with a specific parent type.static CacheSelectorCacheSelector.forRequestType(String requestType, PartialCacheConfig config) Creates a selector that matches any request of the specified type.PartialCacheConfig.mergeWith(PartialCacheConfig other) Merges this configuration with another, with this configuration taking precedence for non-null values.Constructors in org.apache.maven.impl.cache with parameters of type PartialCacheConfigModifierConstructorDescriptionCacheSelector(String parentRequestType, String requestType, PartialCacheConfig config) Creates an instance of aCacheSelectorrecord class.