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:ModelCache
Gets the specified data from the cache.- Specified by:
get
in 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
null
if none was present in the cache.
-
put
Description copied from interface:ModelCache
Puts the specified data into the cache.- Specified by:
put
in 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
.
-