@Singleton @Named public class DefaultUpdateCheckManager extends Object implements UpdateCheckManager, Service
Constructor and Description |
---|
DefaultUpdateCheckManager() |
public DefaultUpdateCheckManager()
public void initService(ServiceLocator locator)
initService
in interface Service
public DefaultUpdateCheckManager setTrackingFileManager(TrackingFileManager trackingFileManager)
public DefaultUpdateCheckManager setUpdatePolicyAnalyzer(UpdatePolicyAnalyzer updatePolicyAnalyzer)
public void checkArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
UpdateCheckManager
checkArtifact
in interface UpdateCheckManager
session
- The repository system session during which the request is made, must not be null
.check
- The update check request, must not be null
.public void checkMetadata(RepositorySystemSession session, UpdateCheck<Metadata,MetadataTransferException> check)
UpdateCheckManager
checkMetadata
in interface UpdateCheckManager
session
- The repository system session during which the request is made, must not be null
.check
- The update check request, must not be null
.public void touchArtifact(RepositorySystemSession session, UpdateCheck<Artifact,ArtifactTransferException> check)
UpdateCheckManager
touchArtifact
in interface UpdateCheckManager
session
- The repository system session during which the request is made, must not be null
.check
- The update check request, must not be null
.public void touchMetadata(RepositorySystemSession session, UpdateCheck<Metadata,MetadataTransferException> check)
UpdateCheckManager
touchMetadata
in interface UpdateCheckManager
session
- The repository system session during which the request is made, must not be null
.check
- The update check request, must not be null
.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.