1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.model.building;
20
21 import java.io.File;
22 import java.nio.file.Path;
23 import java.util.Date;
24 import java.util.List;
25 import java.util.Properties;
26
27 import org.apache.maven.model.Model;
28 import org.apache.maven.model.Profile;
29 import org.apache.maven.model.resolution.ModelResolver;
30 import org.apache.maven.model.resolution.WorkspaceModelResolver;
31
32
33
34
35
36
37 class FilterModelBuildingRequest implements ModelBuildingRequest {
38
39 protected ModelBuildingRequest request;
40
41 FilterModelBuildingRequest(ModelBuildingRequest request) {
42 this.request = request;
43 }
44
45 @Deprecated
46 @Override
47 public File getPomFile() {
48 return request.getPomFile();
49 }
50
51 @Override
52 public Path getPomPath() {
53 return request.getPomPath();
54 }
55
56 @Deprecated
57 @Override
58 public ModelBuildingRequest setPomFile(File pomFile) {
59 request.setPomFile(pomFile);
60 return this;
61 }
62
63 @Override
64 public FilterModelBuildingRequest setPomPath(Path pomPath) {
65 request.setPomPath(pomPath);
66 return this;
67 }
68
69 @Override
70 public ModelSource getModelSource() {
71 return request.getModelSource();
72 }
73
74 @Override
75 public FilterModelBuildingRequest setModelSource(ModelSource modelSource) {
76 request.setModelSource(modelSource);
77
78 return this;
79 }
80
81 @Override
82 public int getValidationLevel() {
83 return request.getValidationLevel();
84 }
85
86 @Override
87 public FilterModelBuildingRequest setValidationLevel(int validationLevel) {
88 request.setValidationLevel(validationLevel);
89
90 return this;
91 }
92
93 @Override
94 public boolean isProcessPlugins() {
95 return request.isProcessPlugins();
96 }
97
98 @Override
99 public FilterModelBuildingRequest setProcessPlugins(boolean processPlugins) {
100 request.setProcessPlugins(processPlugins);
101
102 return this;
103 }
104
105 @Override
106 public boolean isTwoPhaseBuilding() {
107 return request.isTwoPhaseBuilding();
108 }
109
110 @Override
111 public FilterModelBuildingRequest setTwoPhaseBuilding(boolean twoPhaseBuilding) {
112 request.setTwoPhaseBuilding(twoPhaseBuilding);
113
114 return this;
115 }
116
117 @Override
118 public boolean isLocationTracking() {
119 return request.isLocationTracking();
120 }
121
122 @Override
123 public FilterModelBuildingRequest setLocationTracking(boolean locationTracking) {
124 request.setLocationTracking(locationTracking);
125
126 return this;
127 }
128
129 @Override
130 public List<Profile> getProfiles() {
131 return request.getProfiles();
132 }
133
134 @Override
135 public FilterModelBuildingRequest setProfiles(List<Profile> profiles) {
136 request.setProfiles(profiles);
137
138 return this;
139 }
140
141 @Override
142 public List<String> getActiveProfileIds() {
143 return request.getActiveProfileIds();
144 }
145
146 @Override
147 public FilterModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds) {
148 request.setActiveProfileIds(activeProfileIds);
149
150 return this;
151 }
152
153 @Override
154 public List<String> getInactiveProfileIds() {
155 return request.getInactiveProfileIds();
156 }
157
158 @Override
159 public FilterModelBuildingRequest setInactiveProfileIds(List<String> inactiveProfileIds) {
160 request.setInactiveProfileIds(inactiveProfileIds);
161
162 return this;
163 }
164
165 @Override
166 public Properties getSystemProperties() {
167 return request.getSystemProperties();
168 }
169
170 @Override
171 public FilterModelBuildingRequest setSystemProperties(Properties systemProperties) {
172 request.setSystemProperties(systemProperties);
173
174 return this;
175 }
176
177 @Override
178 public Properties getUserProperties() {
179 return request.getUserProperties();
180 }
181
182 @Override
183 public FilterModelBuildingRequest setUserProperties(Properties userProperties) {
184 request.setUserProperties(userProperties);
185
186 return this;
187 }
188
189 @Override
190 public Date getBuildStartTime() {
191 return request.getBuildStartTime();
192 }
193
194 @Override
195 public ModelBuildingRequest setBuildStartTime(Date buildStartTime) {
196 request.setBuildStartTime(buildStartTime);
197
198 return this;
199 }
200
201 @Override
202 public ModelResolver getModelResolver() {
203 return request.getModelResolver();
204 }
205
206 @Override
207 public FilterModelBuildingRequest setModelResolver(ModelResolver modelResolver) {
208 request.setModelResolver(modelResolver);
209
210 return this;
211 }
212
213 @Override
214 public ModelBuildingListener getModelBuildingListener() {
215 return request.getModelBuildingListener();
216 }
217
218 @Override
219 public ModelBuildingRequest setModelBuildingListener(ModelBuildingListener modelBuildingListener) {
220 request.setModelBuildingListener(modelBuildingListener);
221
222 return this;
223 }
224
225 @Override
226 public ModelCache getModelCache() {
227 return request.getModelCache();
228 }
229
230 @Override
231 public FilterModelBuildingRequest setModelCache(ModelCache modelCache) {
232 request.setModelCache(modelCache);
233
234 return this;
235 }
236
237 @Override
238 public Model getFileModel() {
239 return request.getFileModel();
240 }
241
242 @Override
243 public ModelBuildingRequest setFileModel(Model fileModel) {
244 request.setFileModel(fileModel);
245 return this;
246 }
247
248 @Override
249 public Model getRawModel() {
250 return request.getRawModel();
251 }
252
253 @Override
254 public ModelBuildingRequest setRawModel(Model rawModel) {
255 request.setRawModel(rawModel);
256 return this;
257 }
258
259 @Override
260 public WorkspaceModelResolver getWorkspaceModelResolver() {
261 return request.getWorkspaceModelResolver();
262 }
263
264 @Override
265 public ModelBuildingRequest setWorkspaceModelResolver(WorkspaceModelResolver workspaceResolver) {
266 request.setWorkspaceModelResolver(workspaceResolver);
267 return this;
268 }
269
270 @Override
271 public TransformerContextBuilder getTransformerContextBuilder() {
272 return request.getTransformerContextBuilder();
273 }
274
275 @Override
276 public ModelBuildingRequest setTransformerContextBuilder(TransformerContextBuilder contextBuilder) {
277 request.setTransformerContextBuilder(contextBuilder);
278 return this;
279 }
280
281 @Override
282 public Path getRootDirectory() {
283 return request.getRootDirectory();
284 }
285
286 @Override
287 public ModelBuildingRequest setRootDirectory(Path rootDirectory) {
288 request.setRootDirectory(rootDirectory);
289 return this;
290 }
291 }