1 | |
package org.apache.maven.archetype.common; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
import org.apache.maven.archetype.metadata.FileSet; |
23 | |
|
24 | |
import java.io.File; |
25 | |
import java.io.IOException; |
26 | |
import java.util.List; |
27 | |
|
28 | |
|
29 | |
public interface ArchetypeFilesResolver |
30 | |
{ |
31 | |
String ROLE = ArchetypeFilesResolver.class.getName(); |
32 | |
|
33 | |
List<String> getFilesWithExtension( List<String> files, String extension ); |
34 | |
|
35 | |
List<String> getFilteredFiles( List<String> files, String filtered ); |
36 | |
|
37 | |
List<String> filterFiles( String moduleOffset, FileSet fileSet, List<String> archetypeResources ); |
38 | |
|
39 | |
List<String> findOtherResources( int level, List<String> files, String languages ); |
40 | |
|
41 | |
List<String> findOtherResources( int level, List<String> files, List<String> sourcesFiles, String languages ); |
42 | |
|
43 | |
List<String> findOtherSources( int level, List<String> files, String languages ); |
44 | |
|
45 | |
List<String> findResourcesMainFiles( List<String> files, String languages ); |
46 | |
|
47 | |
List<String> findResourcesTestFiles( List<String> files, String languages ); |
48 | |
|
49 | |
List<String> findSiteFiles( List<String> files, String languages ); |
50 | |
|
51 | |
List<String> findSourcesMainFiles( List<String> files, String languages ); |
52 | |
|
53 | |
List<String> findSourcesTestFiles( List<String> files, String languages ); |
54 | |
|
55 | |
List<String> getPackagedFiles( List<String> files, String packageName ); |
56 | |
|
57 | |
String resolvePackage( File file, List<String> languages ) |
58 | |
throws IOException; |
59 | |
|
60 | |
List<String> getUnpackagedFiles( List<String> files, String packageName ); |
61 | |
} |