Package | Description |
---|---|
org.sonatype.aether.impl | |
org.sonatype.aether.impl.internal |
Modifier and Type | Method and Description |
---|---|
UpdateCheck<T,E> |
UpdateCheck.setAuthoritativeRepository(RemoteRepository authoritativeRepository)
Sets the repository which ultimately hosts the metadata to update.
|
UpdateCheck<T,E> |
UpdateCheck.setException(E exception)
Sets the exception for this update check.
|
UpdateCheck<T,E> |
UpdateCheck.setFile(File file)
Sets the local file of the item.
|
UpdateCheck<T,E> |
UpdateCheck.setFileValid(boolean fileValid)
Controls whether the local file given by
getFile() , if existent, should be considered valid or not. |
UpdateCheck<T,E> |
UpdateCheck.setItem(T item)
Sets the item of the check.
|
UpdateCheck<T,E> |
UpdateCheck.setLocalLastUpdated(long localLastUpdated)
Sets the last-modified timestamp of the corresponding item produced by a local installation.
|
UpdateCheck<T,E> |
UpdateCheck.setPolicy(String policy)
Sets the policy to use for the check.
|
UpdateCheck<T,E> |
UpdateCheck.setRepository(RemoteRepository repository)
Sets the repository from which a potential update/download will performed.
|
UpdateCheck<T,E> |
UpdateCheck.setRequired(boolean required)
Sets the result of an update check.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Checks whether an artifact has to be updated from a remote repository.
|
void |
UpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Checks whether metadata has to be updated from a remote repository.
|
void |
UpdateCheckManager.touchArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check)
Updates the timestamp for the artifact contained in the update check.
|
void |
UpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check)
Updates the timestamp for the metadata contained in the update check.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultUpdateCheckManager.checkArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check) |
void |
DefaultUpdateCheckManager.checkMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
void |
DefaultUpdateCheckManager.touchArtifact(RepositorySystemSession session,
UpdateCheck<Artifact,ArtifactTransferException> check) |
void |
DefaultUpdateCheckManager.touchMetadata(RepositorySystemSession session,
UpdateCheck<Metadata,MetadataTransferException> check) |
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.