Package org.openrewrite.maven.cache
Class LocalMavenArtifactCache
java.lang.Object
org.openrewrite.maven.cache.LocalMavenArtifactCache
- All Implemented Interfaces:
MavenArtifactCache
- Direct Known Subclasses:
ReadOnlyLocalMavenArtifactCache
-
Field Summary
Fields inherited from interface org.openrewrite.maven.cache.MavenArtifactCache
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Path
getArtifact
(ResolvedDependency dependency) @Nullable Path
putArtifact
(ResolvedDependency dependency, InputStream artifactInputStream, Consumer<Throwable> onError) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openrewrite.maven.cache.MavenArtifactCache
computeArtifact, orElse
-
Constructor Details
-
LocalMavenArtifactCache
-
-
Method Details
-
getArtifact
- Specified by:
getArtifact
in interfaceMavenArtifactCache
-
putArtifact
public @Nullable Path putArtifact(ResolvedDependency dependency, InputStream artifactInputStream, Consumer<Throwable> onError) - Specified by:
putArtifact
in interfaceMavenArtifactCache
-