Package org.eclipse.aether.internal.impl
Interface LocalPathPrefixComposer
- All Known Implementing Classes:
LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport
public interface LocalPathPrefixComposer
Composes path prefixes for
EnhancedLocalRepositoryManager
.- Since:
- 1.8.1
-
Method Summary
Modifier and TypeMethodDescriptiongetPathPrefixForLocalArtifact
(Artifact artifact) Gets the path prefix for a locally installed artifact.getPathPrefixForLocalMetadata
(Metadata metadata) Gets the path prefix for locally installed metadata.getPathPrefixForRemoteArtifact
(Artifact artifact, RemoteRepository repository) Gets the path prefix for an artifact cached from a remote repository.getPathPrefixForRemoteMetadata
(Metadata metadata, RemoteRepository repository) Gets the path prefix for metadata cached from a remote repository.
-
Method Details
-
getPathPrefixForLocalArtifact
Gets the path prefix for a locally installed artifact.- Parameters:
artifact
- The artifact for which to determine the prefix, must not benull
.- Returns:
- The prefix, may be
null
(note:null
s and empty strings are treated equally).
-
getPathPrefixForRemoteArtifact
Gets the path prefix for an artifact cached from a remote repository.- Parameters:
artifact
- The artifact for which to determine the prefix, must not benull
.repository
- The remote repository, nevernull
.- Returns:
- The prefix, may be
null
(note:null
s and empty strings are treated equally).
-
getPathPrefixForLocalMetadata
Gets the path prefix for locally installed metadata.- Parameters:
metadata
- The metadata for which to determine the prefix, must not benull
.- Returns:
- The prefix, may be
null
(note:null
s and empty strings are treated equally).
-
getPathPrefixForRemoteMetadata
Gets the path prefix for metadata cached from a remote repository.- Parameters:
metadata
- The metadata for which to determine the prefix, must not benull
.repository
- The remote repository, nevernull
.- Returns:
- The prefix, may be
null
(note:null
s and empty strings are treated equally).
-