Interface UpdateCheckManager

All Known Implementing Classes:
DefaultUpdateCheckManager

public interface UpdateCheckManager
Determines if updates of artifacts and metadata from remote repositories are needed.
  • Method Details

    • checkArtifact

      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.
    • touchArtifact

      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.
    • checkMetadata

      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.
    • touchMetadata

      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.