1 |
| |
2 |
| |
3 |
| |
4 |
| package net.sourceforge.pmd; |
5 |
| |
6 |
| import java.util.Set; |
7 |
| |
8 |
| public class RuleContext { |
9 |
| |
10 |
| private Report report = new Report(); |
11 |
| private String sourceCodeFilename; |
12 |
| |
13 |
2853
| public Report getReport() {
|
14 |
2853
| return report;
|
15 |
| } |
16 |
| |
17 |
1216
| public void setReport(Report report) {
|
18 |
1216
| this.report = report;
|
19 |
| } |
20 |
| |
21 |
2680
| public String getSourceCodeFilename() {
|
22 |
2680
| return sourceCodeFilename;
|
23 |
| } |
24 |
| |
25 |
1217
| public void setSourceCodeFilename(String filename) {
|
26 |
1217
| this.sourceCodeFilename = filename;
|
27 |
| } |
28 |
| |
29 |
1056
| public void excludeLines(Set lines) {
|
30 |
1056
| report.exclude(lines);
|
31 |
| } |
32 |
| } |