Class DefaultUpdateCheckManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.repository.legacy.DefaultUpdateCheckManager
- All Implemented Interfaces:
UpdateCheckManager
,org.codehaus.plexus.logging.LogEnabled
@Named
@Singleton
public class DefaultUpdateCheckManager
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements UpdateCheckManager
DefaultUpdateCheckManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError
(Artifact artifact, ArtifactRepository repository) boolean
isUpdateRequired
(Artifact artifact, ArtifactRepository repository) boolean
isUpdateRequired
(RepositoryMetadata metadata, ArtifactRepository repository, File file) void
touch
(Artifact artifact, ArtifactRepository repository, String error) void
touch
(RepositoryMetadata metadata, ArtifactRepository repository, File file) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
LAST_UPDATE_TAG
- See Also:
-
-
Constructor Details
-
DefaultUpdateCheckManager
public DefaultUpdateCheckManager() -
DefaultUpdateCheckManager
public DefaultUpdateCheckManager(org.codehaus.plexus.logging.Logger logger)
-
-
Method Details
-
isUpdateRequired
- Specified by:
isUpdateRequired
in interfaceUpdateCheckManager
-
isUpdateRequired
public boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file) - Specified by:
isUpdateRequired
in interfaceUpdateCheckManager
-
getError
- Specified by:
getError
in interfaceUpdateCheckManager
-
touch
- Specified by:
touch
in interfaceUpdateCheckManager
-
touch
- Specified by:
touch
in interfaceUpdateCheckManager
-