1 package org.apache.maven.repository.legacy;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.File;
23
24 import org.apache.maven.artifact.Artifact;
25 import org.apache.maven.artifact.repository.ArtifactRepository;
26 import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
27
28 public interface UpdateCheckManager
29 {
30
31 boolean isUpdateRequired( Artifact artifact, ArtifactRepository repository );
32
33 void touch( Artifact artifact, ArtifactRepository repository, String error );
34
35 String getError( Artifact artifact, ArtifactRepository repository );
36
37 boolean isUpdateRequired( RepositoryMetadata metadata, ArtifactRepository repository, File file );
38
39 void touch( RepositoryMetadata metadata, ArtifactRepository repository, File file );
40
41 }