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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.void
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.void
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.void
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.
-
-
-
Method Detail
-
checkArtifact
void 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 benull
.check
- The update check request, must not benull
.
-
touchArtifact
void 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 benull
.check
- The update check request, must not benull
.
-
checkMetadata
void 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 benull
.check
- The update check request, must not benull
.
-
touchMetadata
void 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 benull
.check
- The update check request, must not benull
.
-
-