public interface ResolutionErrorPolicy
| Modifier and Type | Field and Description | 
|---|---|
| static int | CACHE_ALLBit mask indicating that all resolution errors should be cached in the local repository. | 
| static int | CACHE_DISABLEDBit mask indicating that resolution errors should not be cached in the local repository. | 
| static int | CACHE_NOT_FOUNDBit flag indicating whether missing artifacts/metadata should be cached in the local repository. | 
| static int | CACHE_TRANSFER_ERRORBit flag indicating whether connectivity/transfer errors (e.g. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getArtifactPolicy(RepositorySystemSession session,
                                  ResolutionErrorPolicyRequest<Artifact> request)Gets the error policy for an artifact. | 
| int | getMetadataPolicy(RepositorySystemSession session,
                                  ResolutionErrorPolicyRequest<Metadata> request)Gets the error policy for some metadata. | 
static final int CACHE_DISABLED
static final int CACHE_NOT_FOUND
static final int CACHE_TRANSFER_ERROR
static final int CACHE_ALL
int getArtifactPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Artifact> 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.int getMetadataPolicy(RepositorySystemSession session, ResolutionErrorPolicyRequest<Metadata> 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.