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
34
35
36 public class ReportPlugin
37 {
38
39 private String groupId = "org.apache.maven.plugins";
40
41 private String artifactId;
42
43 private String version;
44
45 private PlexusConfiguration configuration;
46
47 private List<ReportSet> reportSets;
48
49 private List<String> reports;
50
51 public String getGroupId()
52 {
53 return this.groupId;
54 }
55
56 public void setGroupId( String groupId )
57 {
58 this.groupId = groupId;
59 }
60
61 public String getArtifactId()
62 {
63 return this.artifactId;
64 }
65
66 public void setArtifactId( String artifactId )
67 {
68 this.artifactId = artifactId;
69 }
70
71 public String getVersion()
72 {
73 return this.version;
74 }
75
76 public void setVersion( String version )
77 {
78 this.version = version;
79 }
80
81 public PlexusConfiguration getConfiguration()
82 {
83 return this.configuration;
84 }
85
86 public void setConfiguration( PlexusConfiguration configuration )
87 {
88 this.configuration = configuration;
89 }
90
91 public List<ReportSet> getReportSets()
92 {
93 if ( this.reportSets == null )
94 {
95 this.reportSets = new ArrayList<ReportSet>();
96 }
97
98 return this.reportSets;
99 }
100
101 public void setReportSets( List<ReportSet> reportSets )
102 {
103 this.reportSets = reportSets;
104 }
105
106 public List<String> getReports()
107 {
108 return reports == null ? Collections.<String>emptyList() : reports;
109 }
110
111 public void setReports( List<String> reports )
112 {
113 this.reports = reports;
114 }
115
116
117
118 }