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.List;
24
25 import org.codehaus.plexus.configuration.PlexusConfiguration;
26
27
28
29
30
31 class ReportSet
32 {
33
34 private String id = "default";
35
36 private PlexusConfiguration configuration;
37
38 private List<String> reports;
39
40 public String getId()
41 {
42 return this.id;
43 }
44
45 public void setId( String id )
46 {
47 this.id = id;
48 }
49
50 public PlexusConfiguration getConfiguration()
51 {
52 return this.configuration;
53 }
54
55 public void setConfiguration( PlexusConfiguration configuration )
56 {
57 this.configuration = configuration;
58 }
59
60 public List<String> getReports()
61 {
62 if ( this.reports == null )
63 {
64 this.reports = new ArrayList<>();
65 }
66
67 return this.reports;
68 }
69
70 public void setReports( List<String> reports )
71 {
72 this.reports = reports;
73 }
74
75 @Override
76 public String toString()
77 {
78 return "ReportSet{id='" + getId() + "', reports=" + reports + "}";
79 }
80
81 }