Uses of Class
org.eclipse.aether.impl.UpdateCheck
Package
Description
The provisional interfaces defining the various subcomponents that implement the repository system.
The various sub components that collectively implement the repository system.
-
Uses of UpdateCheck in org.eclipse.aether.impl
Modifier and TypeMethodDescriptionUpdateCheck.setArtifactPolicy
(String artifactPolicy) Sets the artifact policy to use for the check.UpdateCheck.setAuthoritativeRepository
(RemoteRepository authoritativeRepository) Sets the repository which ultimately hosts the metadata to update.UpdateCheck.setException
(E exception) Sets the exception for this update check.Deprecated.UpdateCheck.setFileValid
(boolean fileValid) Controls whether the local file given bygetFile()
, if existent, should be considered valid or not.Sets the item of the check.UpdateCheck.setLocalLastUpdated
(long localLastUpdated) Sets the last-modified timestamp of the corresponding item produced by a local installation.UpdateCheck.setMetadataPolicy
(String metadataPolicy) Sets the metadata policy to use for the check.Sets the local file of the item.UpdateCheck.setRepository
(RemoteRepository repository) Sets the repository from which a potential update/download will performed.UpdateCheck.setRequired
(boolean required) Sets the result of an update check.Modifier and TypeMethodDescriptionvoid
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. -
Uses of UpdateCheck in org.eclipse.aether.internal.impl
Modifier and TypeMethodDescriptionvoid
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)
setPath(Path)
instead.