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 SummaryConstructorsConstructorDescriptionCreates an uninitialized request.ResolutionErrorPolicyRequest(T item, RemoteRepository repository) Creates a request for the specified artifact/metadata and remote repository.
- 
Method SummaryModifier 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- 
ResolutionErrorPolicyRequestpublic ResolutionErrorPolicyRequest()Creates an uninitialized request.
- 
ResolutionErrorPolicyRequestCreates a request for the specified artifact/metadata and remote repository.- Parameters:
- item- The artifact/metadata for which to determine the error policy, may be- null.
- repository- The repository from which the resolution is attempted, may be- null.
 
 
- 
- 
Method Details- 
getItemGets 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.
 
- 
setItemSets the artifact/metadata for which to determine the error policy.- Parameters:
- item- The artifact/metadata for which to determine the error policy, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getRepositoryGets the remote repository from which the resolution of the artifact/metadata is attempted.- Returns:
- The involved remote repository or nullif not set.
 
- 
setRepositorySets the remote repository from which the resolution of the artifact/metadata is attempted.- Parameters:
- repository- The repository from which the resolution is attempted, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
toString
 
-