1 package org.apache.maven.tools.plugin.annotations.scanner;
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.artifact.Artifact;
23 import org.apache.maven.project.MavenProject;
24
25 import java.io.File;
26 import java.util.ArrayList;
27 import java.util.Arrays;
28 import java.util.HashSet;
29 import java.util.List;
30 import java.util.Set;
31
32
33
34
35
36 public class MojoAnnotationsScannerRequest
37 {
38 private List<File> classesDirectories = new ArrayList<File>();
39
40 private Set<Artifact> dependencies = new HashSet<Artifact>();
41
42 private List<String> includePatterns = Arrays.asList( "**/*.class" );
43
44 private List<File> sourceDirectories = new ArrayList<File>();
45
46 private MavenProject project;
47
48 public MojoAnnotationsScannerRequest()
49 {
50
51 }
52
53 public List<File> getClassesDirectories()
54 {
55 return classesDirectories;
56 }
57
58 public void setClassesDirectories( List<File> classesDirectories )
59 {
60 this.classesDirectories = classesDirectories;
61 }
62
63 public Set<Artifact> getDependencies()
64 {
65 return dependencies;
66 }
67
68 public void setDependencies( Set<Artifact> dependencies )
69 {
70 this.dependencies = dependencies;
71 }
72
73 public List<String> getIncludePatterns()
74 {
75 return includePatterns;
76 }
77
78 public void setIncludePatterns( List<String> includePatterns )
79 {
80 this.includePatterns = includePatterns;
81 }
82
83 public List<File> getSourceDirectories()
84 {
85 return sourceDirectories;
86 }
87
88 public void setSourceDirectories( List<File> sourceDirectories )
89 {
90 this.sourceDirectories = sourceDirectories;
91 }
92
93 public MavenProject getProject()
94 {
95 return project;
96 }
97
98 public void setProject( MavenProject project )
99 {
100 this.project = project;
101 }
102 }