Interface RemoteRepositoryFilter

    • Method Detail

      • acceptArtifact

        RemoteRepositoryFilter.Result acceptArtifact​(RemoteRepository remoteRepository,
                                                     Artifact artifact)
        Decides should artifact be accepted from given remote repository.
        Parameters:
        remoteRepository - The remote repository, not null.
        artifact - The artifact, not null.
        Returns:
        the result, never null.
      • acceptMetadata

        RemoteRepositoryFilter.Result acceptMetadata​(RemoteRepository remoteRepository,
                                                     Metadata metadata)
        Decides should metadata be accepted from given remote repository.
        Parameters:
        remoteRepository - The remote repository, not null.
        metadata - The artifact, not null.
        Returns:
        the result, never null.