Class DefaultArtifactPredicate

  • All Implemented Interfaces:
    org.eclipse.aether.spi.artifact.ArtifactPredicate

    public final class DefaultArtifactPredicate
    extends java.lang.Object
    implements org.eclipse.aether.spi.artifact.ArtifactPredicate
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultArtifactPredicate​(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, java.util.Set<java.lang.String> extensionsWithoutChecksums)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isChecksum​(org.eclipse.aether.artifact.Artifact artifact)  
      boolean isWithoutChecksum​(org.eclipse.aether.artifact.Artifact artifact)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.aether.spi.artifact.ArtifactPredicate

        hasChecksums
    • Constructor Detail

      • DefaultArtifactPredicate

        public DefaultArtifactPredicate​(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector,
                                        java.util.Set<java.lang.String> extensionsWithoutChecksums)
    • Method Detail

      • isWithoutChecksum

        public boolean isWithoutChecksum​(org.eclipse.aether.artifact.Artifact artifact)
        Specified by:
        isWithoutChecksum in interface org.eclipse.aether.spi.artifact.ArtifactPredicate
      • isChecksum

        public boolean isChecksum​(org.eclipse.aether.artifact.Artifact artifact)
        Specified by:
        isChecksum in interface org.eclipse.aether.spi.artifact.ArtifactPredicate