Package org.eclipse.aether.resolution
Interface ArtifactDescriptorPolicy
public interface ArtifactDescriptorPolicy
Controls the handling of errors related to reading an artifact descriptor.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intBit mask indicating that all errors should be silently ignored.static final intBit flag indicating that existent but invalid artifact descriptors should be silently ignored.static final intBit flag indicating that missing artifact descriptors should be silently ignored.static final intBit mask indicating that errors while reading the artifact descriptor should not be tolerated.
- 
Method SummaryModifier and TypeMethodDescriptionintgetPolicy(RepositorySystemSession session, ArtifactDescriptorPolicyRequest request) Gets the error policy for an artifact's descriptor.
- 
Field Details- 
STRICTBit mask indicating that errors while reading the artifact descriptor should not be tolerated.- See Also:
 
- 
IGNORE_MISSINGBit flag indicating that missing artifact descriptors should be silently ignored.- See Also:
 
- 
IGNORE_INVALIDBit flag indicating that existent but invalid artifact descriptors should be silently ignored.- See Also:
 
- 
IGNORE_ERRORSBit mask indicating that all errors should be silently ignored.- See Also:
 
 
- 
- 
Method Details- 
getPolicyGets the error policy for an artifact's descriptor.- Parameters:
- session- The repository session during which the policy is determined, must not be- null.
- request- The policy request holding further details, must not be- null.
- Returns:
- The bit mask describing the desired error policy.
 
 
-