public interface ArtifactDescriptorPolicy
| Modifier and Type | Field and Description | 
|---|---|
| static int | IGNORE_ERRORSBit mask indicating that all errors should be silently ignored. | 
| static int | IGNORE_INVALIDBit flag indicating that existent but invalid artifact descriptors should be silently ignored. | 
| static int | IGNORE_MISSINGBit flag indicating that missing artifact descriptors should be silently ignored. | 
| static int | STRICTBit mask indicating that errors while reading the artifact descriptor should not be tolerated. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getPolicy(RepositorySystemSession session,
                  ArtifactDescriptorPolicyRequest request)Gets the error policy for an artifact's descriptor. | 
static final int STRICT
static final int IGNORE_MISSING
static final int IGNORE_INVALID
static final int IGNORE_ERRORS
int getPolicy(RepositorySystemSession session, ArtifactDescriptorPolicyRequest request)
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.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.