public final class SimpleArtifactDescriptorPolicy extends Object implements org.eclipse.aether.resolution.ArtifactDescriptorPolicy
| Constructor and Description |
|---|
SimpleArtifactDescriptorPolicy(boolean ignoreMissing,
boolean ignoreInvalid)
Creates a new error policy with the specified behavior.
|
SimpleArtifactDescriptorPolicy(int policy)
Creates a new error policy with the specified bit mask.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPolicy(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.resolution.ArtifactDescriptorPolicyRequest request) |
public SimpleArtifactDescriptorPolicy(boolean ignoreMissing,
boolean ignoreInvalid)
ignoreMissing - true to ignore missing descriptors, false to fail resolution.ignoreInvalid - true to ignore invalid descriptors, false to fail resolution.public SimpleArtifactDescriptorPolicy(int policy)
policy - The bit mask describing the policy.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.