Package org.eclipse.aether.impl
Interface UpdateCheckManager
- All Known Implementing Classes:
DefaultUpdateCheckManager
public interface UpdateCheckManager
Determines if updates of artifacts and metadata from remote repositories are needed.
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
- Provisional:
- This type is provisional and can be changed, moved or removed without prior notice.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckArtifact(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Checks whether an artifact has to be updated from a remote repository.voidcheckMetadata(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Checks whether metadata has to be updated from a remote repository.voidtouchArtifact(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Updates the timestamp for the artifact contained in the update check.voidtouchMetadata(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Updates the timestamp for the metadata contained in the update check.
-
Method Details
-
checkArtifact
void checkArtifact(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Checks whether an artifact has to be updated from a remote repository.- Parameters:
session- The repository system session during which the request is made, must not benull.check- The update check request, must not benull.
-
touchArtifact
void touchArtifact(RepositorySystemSession session, UpdateCheck<Artifact, ArtifactTransferException> check) Updates the timestamp for the artifact contained in the update check.- Parameters:
session- The repository system session during which the request is made, must not benull.check- The update check request, must not benull.
-
checkMetadata
void checkMetadata(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Checks whether metadata has to be updated from a remote repository.- Parameters:
session- The repository system session during which the request is made, must not benull.check- The update check request, must not benull.
-
touchMetadata
void touchMetadata(RepositorySystemSession session, UpdateCheck<Metadata, MetadataTransferException> check) Updates the timestamp for the metadata contained in the update check.- Parameters:
session- The repository system session during which the request is made, must not benull.check- The update check request, must not benull.
-