1
2
3
4
5
6
7
8 package org.apache.maven.model;
9
10
11
12
13
14
15
16 public class ReportSet
17 implements java.io.Serializable
18 {
19
20
21
22
23
24
25
26
27
28 private String id = "default";
29
30
31
32
33
34 private Object configuration;
35
36
37
38
39 private String inherited;
40
41
42
43
44 private java.util.List
45
46
47
48
49
50
51
52
53
54
55
56 public void addReport( String string )
57 {
58 if ( !(string instanceof String) )
59 {
60 throw new ClassCastException( "ReportSet.addReports(string) parameter must be instanceof " + String.class.getName() );
61 }
62 getReports().add( string );
63 }
64
65
66
67
68
69
70
71 public Object getConfiguration()
72 {
73 return this.configuration;
74 }
75
76
77
78
79
80
81
82 public String getId()
83 {
84 return this.id;
85 }
86
87
88
89
90
91
92
93 public String getInherited()
94 {
95 return this.inherited;
96 }
97
98
99
100
101
102
103 public java.util.List
104 {
105 if ( this.reports == null )
106 {
107 this.reports = new java.util.ArrayList
108 }
109
110 return this.reports;
111 }
112
113
114
115
116
117
118 public void removeReport( String string )
119 {
120 if ( !(string instanceof String) )
121 {
122 throw new ClassCastException( "ReportSet.removeReports(string) parameter must be instanceof " + String.class.getName() );
123 }
124 getReports().remove( string );
125 }
126
127
128
129
130
131
132
133 public void setConfiguration( Object configuration )
134 {
135 this.configuration = configuration;
136 }
137
138
139
140
141
142
143
144 public void setId( String id )
145 {
146 this.id = id;
147 }
148
149
150
151
152
153
154
155 public void setInherited( String inherited )
156 {
157 this.inherited = inherited;
158 }
159
160
161
162
163
164
165
166 public void setReports( java.util.List
167 {
168 this.reports = reports;
169 }
170
171
172
173 private boolean inheritanceApplied = true;
174
175 public void unsetInheritanceApplied()
176 {
177 this.inheritanceApplied = false;
178 }
179
180 public boolean isInheritanceApplied()
181 {
182 return inheritanceApplied;
183 }
184
185
186 }