Class DefaultArtifactPredicate

java.lang.Object
org.eclipse.aether.internal.impl.DefaultArtifactPredicate
All Implemented Interfaces:
org.eclipse.aether.spi.artifact.ArtifactPredicate

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

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

    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 Details

    • DefaultArtifactPredicate

      public DefaultArtifactPredicate(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Set<String> extensionsWithoutChecksums)
  • Method Details

    • 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