org.apache.maven.repository.legacy
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
@Component(role=UpdateCheckManager.class)
public class DefaultUpdateCheckManager
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements UpdateCheckManager
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAST_UPDATE_TAG
public static final String LAST_UPDATE_TAG
- See Also:
- Constant Field Values
DefaultUpdateCheckManager
public DefaultUpdateCheckManager()
DefaultUpdateCheckManager
public DefaultUpdateCheckManager(org.codehaus.plexus.logging.Logger logger)
isUpdateRequired
public boolean isUpdateRequired(Artifact artifact,
ArtifactRepository repository)
- Specified by:
isUpdateRequired
in interface UpdateCheckManager
isUpdateRequired
public boolean isUpdateRequired(RepositoryMetadata metadata,
ArtifactRepository repository,
File file)
- Specified by:
isUpdateRequired
in interface UpdateCheckManager
getError
public String getError(Artifact artifact,
ArtifactRepository repository)
- Specified by:
getError
in interface UpdateCheckManager
touch
public void touch(Artifact artifact,
ArtifactRepository repository,
String error)
- Specified by:
touch
in interface UpdateCheckManager
touch
public void touch(RepositoryMetadata metadata,
ArtifactRepository repository,
File file)
- Specified by:
touch
in interface UpdateCheckManager
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.