Package org.apache.maven.impl.cache
Class CacheSelectorParser
java.lang.Object
org.apache.maven.impl.cache.CacheSelectorParser
Parser for cache selector configuration strings.
Supports syntax like:
ArtifactResolutionRequest { scope: session, ref: soft }
ModelBuildRequest { scope: request, ref: soft }
ModelBuilderRequest VersionRangeRequest { ref: hard }
ModelBuildRequest * { ref: hard }
VersionRangeRequest { scope: session }
* { ref: weak }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CacheSelector> Parses a cache configuration string into a list of cache selectors.
-
Constructor Details
-
CacheSelectorParser
public CacheSelectorParser()
-
-
Method Details
-
parse
Parses a cache configuration string into a list of cache selectors.- Parameters:
configString- the configuration string to parse- Returns:
- list of parsed cache selectors, ordered by specificity (most specific first)
-