T - The type of the affected repository item (artifact or metadata).public final class ResolutionErrorPolicyRequest<T> extends Object
ResolutionErrorPolicy| Constructor and Description |
|---|
ResolutionErrorPolicyRequest()
Creates an uninitialized request.
|
ResolutionErrorPolicyRequest(T item,
RemoteRepository repository)
Creates a request for the specified artifact/metadata and remote repository.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem()
Gets the artifact/metadata for which to determine the error policy.
|
RemoteRepository |
getRepository()
Gets the remote repository from which the resolution of the artifact/metadata is attempted.
|
ResolutionErrorPolicyRequest<T> |
setItem(T item)
Sets the artifact/metadata for which to determine the error policy.
|
ResolutionErrorPolicyRequest<T> |
setRepository(RemoteRepository repository)
Sets the remote repository from which the resolution of the artifact/metadata is attempted.
|
String |
toString() |
public ResolutionErrorPolicyRequest()
public ResolutionErrorPolicyRequest(T item, RemoteRepository repository)
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.public T getItem()
null if not set.public ResolutionErrorPolicyRequest<T> setItem(T item)
item - The artifact/metadata for which to determine the error policy, may be null.null.public RemoteRepository getRepository()
null if not set.public ResolutionErrorPolicyRequest<T> setRepository(RemoteRepository repository)
repository - The repository from which the resolution is attempted, may be null.null.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.