Package org.eclipse.aether.spi.artifact
Interface ArtifactPredicate
-
public interface ArtifactPredicate
An artifact predicate.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanhasChecksums(org.eclipse.aether.artifact.Artifact artifact)Returnstrueif passed in artifact should have checksums.booleanisChecksum(org.eclipse.aether.artifact.Artifact artifact)Returnstrueif passed in artifact is a checksum artifact.booleanisWithoutChecksum(org.eclipse.aether.artifact.Artifact artifact)Returnstrueif passed in artifact is configured to not have checksums.
-
-
-
Method Detail
-
hasChecksums
default boolean hasChecksums(org.eclipse.aether.artifact.Artifact artifact)
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
boolean isWithoutChecksum(org.eclipse.aether.artifact.Artifact artifact)
Returnstrueif passed in artifact is configured to not have checksums.
-
isChecksum
boolean isChecksum(org.eclipse.aether.artifact.Artifact artifact)
Returnstrueif passed in artifact is a checksum artifact.
-
-