Package org.eclipse.aether.resolution
Class ResolutionErrorPolicyRequest<T>
java.lang.Object
org.eclipse.aether.resolution.ResolutionErrorPolicyRequest<T>
- Type Parameters:
 T- The type of the affected repository item (artifact or metadata).
A query for the resolution error policy for a given artifact/metadata.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized request.ResolutionErrorPolicyRequest(T item, RemoteRepository repository) Creates a request for the specified artifact/metadata and remote repository. - 
Method Summary
Modifier and TypeMethodDescriptiongetItem()Gets the artifact/metadata for which to determine the error policy.Gets the remote repository from which the resolution of the artifact/metadata is attempted.Sets the artifact/metadata for which to determine the error policy.setRepository(RemoteRepository repository) Sets the remote repository from which the resolution of the artifact/metadata is attempted.toString() 
- 
Constructor Details
- 
ResolutionErrorPolicyRequest
public ResolutionErrorPolicyRequest()Creates an uninitialized request. - 
ResolutionErrorPolicyRequest
Creates a request for the specified artifact/metadata and remote repository.- Parameters:
 item- The artifact/metadata for which to determine the error policy, may benull.repository- The repository from which the resolution is attempted, may benull.
 
 - 
 - 
Method Details
- 
getItem
Gets the artifact/metadata for which to determine the error policy.- Returns:
 - The artifact/metadata for which to determine the error policy or 
nullif not set. 
 - 
setItem
Sets the artifact/metadata for which to determine the error policy.- Parameters:
 item- The artifact/metadata for which to determine the error policy, may benull.- Returns:
 - This request for chaining, never 
null. 
 - 
getRepository
Gets the remote repository from which the resolution of the artifact/metadata is attempted.- Returns:
 - The involved remote repository or 
nullif not set. 
 - 
setRepository
Sets the remote repository from which the resolution of the artifact/metadata is attempted.- Parameters:
 repository- The repository from which the resolution is attempted, may benull.- Returns:
 - This request for chaining, never 
null. 
 - 
toString
 
 -