Package org.eclipse.aether.spi.locking
Interface LockingInhibitor
-
public interface LockingInhibitor
Locking inhibitor may prevent Resolver locking to happen on certain resources.- Since:
- 2.0.14
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanpreventArtifactLocking(org.eclipse.aether.artifact.Artifact artifact)Should returntruefor artifacts that needs lock inhibition.default booleanpreventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)Should returntruefor metadata that needs lock inhibition.
-
-
-
Method Detail
-
preventArtifactLocking
default boolean preventArtifactLocking(org.eclipse.aether.artifact.Artifact artifact)
Should returntruefor artifacts that needs lock inhibition.Warning: you do not want to override this method, or if you do, think twice.
-
preventMetadataLocking
default boolean preventMetadataLocking(org.eclipse.aether.metadata.Metadata metadata)
Should returntruefor metadata that needs lock inhibition.
-
-