1 package org.apache.maven.reporting.exec;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.ArrayList;
23 import java.util.Collections;
24 import java.util.List;
25
26 import org.apache.maven.model.Plugin;
27 import org.codehaus.plexus.configuration.PlexusConfiguration;
28
29
30
31
32
33 public class ReportPlugin
34 {
35 private String groupId = "org.apache.maven.plugins";
36
37 private String artifactId;
38
39 private String version;
40
41 private PlexusConfiguration configuration;
42
43 private List<ReportSet> reportSets;
44
45 private List<String> reports;
46
47 public String getGroupId()
48 {
49 return this.groupId;
50 }
51
52 public void setGroupId( String groupId )
53 {
54 this.groupId = groupId;
55 }
56
57 public String getArtifactId()
58 {
59 return this.artifactId;
60 }
61
62 public void setArtifactId( String artifactId )
63 {
64 this.artifactId = artifactId;
65 }
66
67 public String getVersion()
68 {
69 return this.version;
70 }
71
72 public void setVersion( String version )
73 {
74 this.version = version;
75 }
76
77 public PlexusConfiguration getConfiguration()
78 {
79 return this.configuration;
80 }
81
82 public void setConfiguration( PlexusConfiguration configuration )
83 {
84 this.configuration = configuration;
85 }
86
87 public List<ReportSet> getReportSets()
88 {
89 if ( this.reportSets == null )
90 {
91 this.reportSets = new ArrayList<ReportSet>();
92 }
93
94 return this.reportSets;
95 }
96
97 public void setReportSets( List<ReportSet> reportSets )
98 {
99 this.reportSets = reportSets;
100 }
101
102 public List<String> getReports()
103 {
104 return reports == null ? Collections.<String>emptyList() : reports;
105 }
106
107 public void setReports( List<String> reports )
108 {
109 this.reports = reports;
110 }
111 }