Class SimpleArtifactDescriptorPolicy

java.lang.Object
org.eclipse.aether.util.repository.SimpleArtifactDescriptorPolicy
All Implemented Interfaces:
ArtifactDescriptorPolicy

public final class SimpleArtifactDescriptorPolicy extends Object implements ArtifactDescriptorPolicy
An artifact descriptor error policy that allows to control error handling at a global level.
  • Constructor Details

    • SimpleArtifactDescriptorPolicy

      public SimpleArtifactDescriptorPolicy(boolean ignoreMissing, boolean ignoreInvalid)
      Creates a new error policy with the specified behavior.
      Parameters:
      ignoreMissing - true to ignore missing descriptors, false to fail resolution.
      ignoreInvalid - true to ignore invalid descriptors, false to fail resolution.
    • SimpleArtifactDescriptorPolicy

      public SimpleArtifactDescriptorPolicy(int policy)
      Creates a new error policy with the specified bit mask.
      Parameters:
      policy - The bit mask describing the policy.
  • Method Details