Package org.eclipse.aether.internal.impl
Class DefaultArtifactPredicate
java.lang.Object
org.eclipse.aether.internal.impl.DefaultArtifactPredicate
- All Implemented Interfaces:
ArtifactPredicate
-
Constructor Summary
ConstructorDescriptionDefaultArtifactPredicate
(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Set<String> extensionsWithoutChecksums) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isChecksum
(Artifact artifact) Returnstrue
if passed in artifact is a checksum artifact.boolean
isWithoutChecksum
(Artifact artifact) Returnstrue
if passed in artifact is configured to not have checksums.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(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Set<String> extensionsWithoutChecksums)
-
-
Method Details
-
isWithoutChecksum
Description copied from interface:ArtifactPredicate
Returnstrue
if passed in artifact is configured to not have checksums.- Specified by:
isWithoutChecksum
in interfaceArtifactPredicate
-
isChecksum
Description copied from interface:ArtifactPredicate
Returnstrue
if passed in artifact is a checksum artifact.- Specified by:
isChecksum
in interfaceArtifactPredicate
-