Package org.apache.maven.project
Class ReactorModelCache
java.lang.Object
org.apache.maven.project.ReactorModelCache
- All Implemented Interfaces:
ModelCache
A simple model cache used to accelerate model building during a reactor build.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
models
-
-
Constructor Details
-
ReactorModelCache
ReactorModelCache()
-
-
Method Details
-
get
Description copied from interface:ModelCacheGets the specified data from the cache.- Specified by:
getin interfaceModelCache- Parameters:
groupId- The group id of the cache record, must not benull.artifactId- The artifact id of the cache record, must not benull.version- The version of the cache record, must not benull.tag- The tag of the cache record, must not benull.- Returns:
- The requested data or
nullif none was present in the cache.
-
put
Description copied from interface:ModelCachePuts the specified data into the cache.- Specified by:
putin interfaceModelCache- Parameters:
groupId- The group id of the cache record, must not benull.artifactId- The artifact id of the cache record, must not benull.version- The version of the cache record, must not benull.tag- The tag of the cache record, must not benull.data- The data to store in the cache, must not benull.
-