Package org.eclipse.aether.spi.artifact
Interface ArtifactPredicate
- All Known Implementing Classes:
 DefaultArtifactPredicate
public interface ArtifactPredicate
An artifact predicate.
- Since:
 - 2.0.0
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault booleanhasChecksums(Artifact artifact) Returnstrueif passed in artifact should have checksums.booleanisChecksum(Artifact artifact) Returnstrueif passed in artifact is a checksum artifact.booleanisWithoutChecksum(Artifact artifact) Returnstrueif passed in artifact is configured to not have checksums. 
- 
Method Details
- 
hasChecksums
Returnstrueif passed in artifact should have checksums.Artifact should have checksum if it is not a checksum artifact, or any artifact that has been configured (in session) that should not have them.
 - 
isWithoutChecksum
Returnstrueif passed in artifact is configured to not have checksums. - 
isChecksum
Returnstrueif passed in artifact is a checksum artifact. 
 -