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 SummaryModifier and TypeMethodDescriptionvoidcheckArtifact(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.artifact.Artifact, org.eclipse.aether.transfer.ArtifactTransferException> check) Checks whether an artifact has to be updated from a remote repository.voidcheckMetadata(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.metadata.Metadata, org.eclipse.aether.transfer.MetadataTransferException> check) Checks whether metadata has to be updated from a remote repository.voidtouchArtifact(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.artifact.Artifact, org.eclipse.aether.transfer.ArtifactTransferException> check) Updates the timestamp for the artifact contained in the update check.voidtouchMetadata(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.metadata.Metadata, org.eclipse.aether.transfer.MetadataTransferException> check) Updates the timestamp for the metadata contained in the update check.
- 
Method Details- 
checkArtifactvoid checkArtifact(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.artifact.Artifact, org.eclipse.aether.transfer.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 be- null.
- check- The update check request, must not be- null.
 
- 
touchArtifactvoid touchArtifact(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.artifact.Artifact, org.eclipse.aether.transfer.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 be- null.
- check- The update check request, must not be- null.
 
- 
checkMetadatavoid checkMetadata(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.metadata.Metadata, org.eclipse.aether.transfer.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 be- null.
- check- The update check request, must not be- null.
 
- 
touchMetadatavoid touchMetadata(org.eclipse.aether.RepositorySystemSession session, UpdateCheck<org.eclipse.aether.metadata.Metadata, org.eclipse.aether.transfer.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 be- null.
- check- The update check request, must not be- null.
 
 
-