1 package org.apache.continuum.purge.repository.scanner;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.List;
23
24 import org.apache.continuum.model.repository.LocalRepository;
25 import org.apache.continuum.purge.controller.PurgeController;
26 import org.apache.continuum.purge.executor.ContinuumPurgeExecutorException;
27
28
29
30
31
32
33
34 public interface RepositoryScanner
35 {
36
37
38
39
40
41 public static final String[] IGNORABLE_CONTENT = {
42 "bin/**",
43 "reports/**",
44 ".index",
45 ".reports/**",
46 ".maven/**",
47 "**/.svn/**",
48 "**/*snapshot-version",
49 "*/website/**",
50 "*/licences/**",
51 "**/.htaccess",
52 "**/*.html",
53 "**/*.txt",
54 "**/README*",
55 "**/CHANGELOG*",
56 "**/KEYS*" +
57 "**/*.xml*" };
58
59 public void scan( LocalRepository repository, PurgeController purgeController )
60 throws ContinuumPurgeExecutorException;
61
62 public void scan( LocalRepository repository, PurgeController purgeController,
63 List<String> ignoredContentPatterns )
64 throws ContinuumPurgeExecutorException;
65 }