Package org.eclipse.aether.internal.impl
Interface LocalPathPrefixComposer
-
- All Known Implementing Classes:
LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport
public interface LocalPathPrefixComposer
Composes path prefixes forEnhancedLocalRepositoryManager.- Since:
- 1.8.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPathPrefixForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact)Gets the path prefix for a locally installed artifact.java.lang.StringgetPathPrefixForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata)Gets the path prefix for locally installed metadata.java.lang.StringgetPathPrefixForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository)Gets the path prefix for an artifact cached from a remote repository.java.lang.StringgetPathPrefixForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository)Gets the path prefix for metadata cached from a remote repository.
-
-
-
Method Detail
-
getPathPrefixForLocalArtifact
java.lang.String getPathPrefixForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact)
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:nulls and empty strings are treated equally).
-
getPathPrefixForRemoteArtifact
java.lang.String getPathPrefixForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository)
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:nulls and empty strings are treated equally).
-
getPathPrefixForLocalMetadata
java.lang.String getPathPrefixForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata)
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:nulls and empty strings are treated equally).
-
getPathPrefixForRemoteMetadata
java.lang.String getPathPrefixForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository)
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:nulls and empty strings are treated equally).
-
-