org.apache.maven.repository.legacy
Interface UpdateCheckManager

All Known Implementing Classes:
DefaultUpdateCheckManager

public interface UpdateCheckManager


Method Summary
 String getError(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)
           
 

Method Detail

isUpdateRequired

boolean isUpdateRequired(Artifact artifact,
                         ArtifactRepository repository)

touch

void touch(Artifact artifact,
           ArtifactRepository repository,
           String error)

getError

String getError(Artifact artifact,
                ArtifactRepository repository)

isUpdateRequired

boolean isUpdateRequired(RepositoryMetadata metadata,
                         ArtifactRepository repository,
                         File file)

touch

void touch(RepositoryMetadata metadata,
           ArtifactRepository repository,
           File file)


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.