public interface LocalPathPrefixComposer
EnhancedLocalRepositoryManager.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPathPrefixForLocalArtifact(Artifact artifact)
Gets the path prefix for a locally installed artifact.
|
java.lang.String |
getPathPrefixForLocalMetadata(Metadata metadata)
Gets the path prefix for locally installed metadata.
|
java.lang.String |
getPathPrefixForRemoteArtifact(Artifact artifact,
RemoteRepository repository)
Gets the path prefix for an artifact cached from a remote repository.
|
java.lang.String |
getPathPrefixForRemoteMetadata(Metadata metadata,
RemoteRepository repository)
Gets the path prefix for metadata cached from a remote repository.
|
java.lang.String getPathPrefixForLocalArtifact(Artifact artifact)
artifact - The artifact for which to determine the prefix, must not be null.null (note: nulls and empty strings are treated equally).java.lang.String getPathPrefixForRemoteArtifact(Artifact artifact, RemoteRepository repository)
artifact - The artifact for which to determine the prefix, must not be null.repository - The remote repository, never null.null (note: nulls and empty strings are treated equally).java.lang.String getPathPrefixForLocalMetadata(Metadata metadata)
metadata - The metadata for which to determine the prefix, must not be null.null (note: nulls and empty strings are treated equally).java.lang.String getPathPrefixForRemoteMetadata(Metadata metadata, RemoteRepository repository)
metadata - The metadata for which to determine the prefix, must not be null.repository - The remote repository, never null.null (note: nulls and empty strings are treated equally).