Class LegacyRepositorySystem.UnknownRepositoryLayout
java.lang.Object
org.apache.maven.repository.legacy.LegacyRepositorySystem.UnknownRepositoryLayout
- All Implemented Interfaces:
ArtifactRepositoryLayout
- Enclosing class:
- LegacyRepositorySystem
static class LegacyRepositorySystem.UnknownRepositoryLayout
extends Object
implements ArtifactRepositoryLayout
In the future, the legacy system might encounter repository types for which no layout components exists because
the actual communication with the repository happens via a repository connector. As a minimum, the legacy system
needs to retain the id of this layout so that the content type of the remote repository can still be accurately
described.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
pathOfLocalRepositoryMetadata
(ArtifactMetadata metadata, ArtifactRepository repository) toString()
-
Field Details
-
id
-
fallback
-
-
Constructor Details
-
UnknownRepositoryLayout
UnknownRepositoryLayout(String id, ArtifactRepositoryLayout fallback)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceArtifactRepositoryLayout
-
pathOf
- Specified by:
pathOf
in interfaceArtifactRepositoryLayout
-
pathOfLocalRepositoryMetadata
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) - Specified by:
pathOfLocalRepositoryMetadata
in interfaceArtifactRepositoryLayout
-
pathOfRemoteRepositoryMetadata
- Specified by:
pathOfRemoteRepositoryMetadata
in interfaceArtifactRepositoryLayout
-
toString
-