1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.reporting.exec;
20
21 import java.util.ArrayList;
22 import java.util.List;
23
24 import org.codehaus.plexus.configuration.PlexusConfiguration;
25
26
27
28
29
30 class ReportSet {
31
32 private String id = "default";
33
34 private PlexusConfiguration configuration;
35
36 private List<String> reports;
37
38 public String getId() {
39 return this.id;
40 }
41
42 public void setId(String id) {
43 this.id = id;
44 }
45
46 public PlexusConfiguration getConfiguration() {
47 return this.configuration;
48 }
49
50 public void setConfiguration(PlexusConfiguration configuration) {
51 this.configuration = configuration;
52 }
53
54 public List<String> getReports() {
55 if (this.reports == null) {
56 this.reports = new ArrayList<>();
57 }
58
59 return this.reports;
60 }
61
62 public void setReports(List<String> reports) {
63 this.reports = reports;
64 }
65
66 @Override
67 public String toString() {
68 return "ReportSet{id='" + getId() + "', reports=" + reports + "}";
69 }
70 }