1 | |
package org.apache.maven.plugin.checkstyle.rss; |
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.plugin.logging.Log; |
25 | |
import org.apache.maven.project.MavenProject; |
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
public class CheckstyleRssGeneratorRequest |
34 | |
{ |
35 | |
private MavenProject mavenProject; |
36 | |
|
37 | |
private String copyright; |
38 | |
|
39 | |
private File outputDirectory; |
40 | |
|
41 | |
private Log log; |
42 | |
|
43 | |
public CheckstyleRssGeneratorRequest( MavenProject mavenProject, String copyright, File outputDirectory, Log log ) |
44 | 16 | { |
45 | 16 | this.mavenProject = mavenProject; |
46 | 16 | this.copyright = copyright; |
47 | 16 | this.outputDirectory = outputDirectory; |
48 | 16 | this.log = log; |
49 | 16 | } |
50 | |
|
51 | |
public MavenProject getMavenProject() |
52 | |
{ |
53 | 16 | return mavenProject; |
54 | |
} |
55 | |
|
56 | |
public void setMavenProject( MavenProject mavenProject ) |
57 | |
{ |
58 | 0 | this.mavenProject = mavenProject; |
59 | 0 | } |
60 | |
|
61 | |
public String getCopyright() |
62 | |
{ |
63 | 16 | return copyright; |
64 | |
} |
65 | |
|
66 | |
public void setCopyright( String copyright ) |
67 | |
{ |
68 | 0 | this.copyright = copyright; |
69 | 0 | } |
70 | |
|
71 | |
public File getOutputDirectory() |
72 | |
{ |
73 | 16 | return outputDirectory; |
74 | |
} |
75 | |
|
76 | |
public void setOutputDirectory( File outputDirectory ) |
77 | |
{ |
78 | 0 | this.outputDirectory = outputDirectory; |
79 | 0 | } |
80 | |
|
81 | |
public Log getLog() |
82 | |
{ |
83 | 16 | return log; |
84 | |
} |
85 | |
|
86 | |
public void setLog( Log log ) |
87 | |
{ |
88 | 0 | this.log = log; |
89 | 0 | } |
90 | |
|
91 | |
} |