1 package org.apache.maven.plugin.changelog.stubs;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.scm.ScmBranch;
23 import org.apache.maven.scm.ScmBranchParameters;
24 import org.apache.maven.scm.ScmException;
25 import org.apache.maven.scm.ScmFileSet;
26 import org.apache.maven.scm.ScmTagParameters;
27 import org.apache.maven.scm.ScmVersion;
28 import org.apache.maven.scm.command.add.AddScmResult;
29 import org.apache.maven.scm.command.branch.BranchScmResult;
30 import org.apache.maven.scm.command.changelog.ChangeLogScmResult;
31 import org.apache.maven.scm.command.checkin.CheckInScmResult;
32 import org.apache.maven.scm.command.checkout.CheckOutScmResult;
33 import org.apache.maven.scm.command.diff.DiffScmResult;
34 import org.apache.maven.scm.command.edit.EditScmResult;
35 import org.apache.maven.scm.command.list.ListScmResult;
36 import org.apache.maven.scm.command.remove.RemoveScmResult;
37 import org.apache.maven.scm.command.status.StatusScmResult;
38 import org.apache.maven.scm.command.tag.TagScmResult;
39 import org.apache.maven.scm.command.unedit.UnEditScmResult;
40 import org.apache.maven.scm.command.update.UpdateScmResult;
41 import org.apache.maven.scm.command.export.ExportScmResult;
42 import org.apache.maven.scm.log.ScmLogger;
43 import org.apache.maven.scm.provider.ScmProvider;
44 import org.apache.maven.scm.provider.ScmProviderRepository;
45 import org.apache.maven.scm.repository.ScmRepository;
46 import org.apache.maven.scm.repository.ScmRepositoryException;
47 import org.apache.maven.scm.repository.UnknownRepositoryStructure;
48
49 import java.io.File;
50 import java.util.Date;
51 import java.util.List;
52
53
54
55
56
57 public class ScmProviderStub
58 implements ScmProvider
59 {
60
61 public AddScmResult add( ScmRepository scmRepository, ScmFileSet scmFileSet )
62 throws ScmException
63 {
64 return null;
65 }
66
67
68 public void addListener( ScmLogger scmLogger )
69 {
70 }
71
72
73 public String getScmSpecificFilename()
74 {
75 return null;
76 }
77
78
79 public String getScmType()
80 {
81 return null;
82 }
83
84
85 public ScmProviderRepository makeProviderScmRepository( File file )
86 throws ScmRepositoryException, UnknownRepositoryStructure
87 {
88 return null;
89 }
90
91
92 public ScmProviderRepository makeProviderScmRepository( String string, char c )
93 throws ScmRepositoryException
94 {
95 return null;
96 }
97
98
99 public AddScmResult add( ScmRepository scmRepository, ScmFileSet scmFileSet, String message )
100 throws ScmException
101 {
102 return null;
103 }
104
105
106 public BranchScmResult branch( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
107 throws ScmException
108 {
109 return null;
110 }
111
112
113 public BranchScmResult branch( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
114 throws ScmException
115 {
116 return null;
117 }
118
119
120 protected ChangeLogScmResult getChangeLogScmResult()
121 {
122 return new ChangeLogScmResultStub();
123 }
124
125
126 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
127 int i, String string )
128 throws ScmException
129 {
130 return getChangeLogScmResult();
131 }
132
133
134 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
135 int i, String string, String string1 )
136 throws ScmException
137 {
138 return getChangeLogScmResult();
139 }
140
141
142 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
143 String string1 )
144 throws ScmException
145 {
146 return getChangeLogScmResult();
147 }
148
149
150 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
151 String string1, String string2 )
152 throws ScmException
153 {
154 return getChangeLogScmResult();
155 }
156
157
158 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
159 int i, ScmBranch scmBranch )
160 throws ScmException
161 {
162 return getChangeLogScmResult();
163 }
164
165
166 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
167 int i, ScmBranch scmBranch, String string )
168 throws ScmException
169 {
170 return getChangeLogScmResult();
171 }
172
173
174 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
175 ScmVersion scmVersion1 )
176 throws ScmException
177 {
178 return getChangeLogScmResult();
179 }
180
181
182 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
183 ScmVersion scmVersion1, String string )
184 throws ScmException
185 {
186 return getChangeLogScmResult();
187 }
188
189
190 public CheckInScmResult checkIn( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
191 throws ScmException
192 {
193 return null;
194 }
195
196
197 public CheckInScmResult checkIn( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
198 throws ScmException
199 {
200 return null;
201 }
202
203
204 public CheckInScmResult checkIn( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
205 String string )
206 throws ScmException
207 {
208 return null;
209 }
210
211
212 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
213 throws ScmException
214 {
215 return null;
216 }
217
218
219 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet )
220 throws ScmException
221 {
222 return null;
223 }
224
225
226 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion )
227 throws ScmException
228 {
229 return null;
230 }
231
232
233 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, boolean b )
234 throws ScmException
235 {
236 return null;
237 }
238
239
240 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, boolean b )
241 throws ScmException
242 {
243 return null;
244 }
245
246
247 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
248 boolean b )
249 throws ScmException
250 {
251 return null;
252 }
253
254
255 public DiffScmResult diff( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
256 throws ScmException
257 {
258 return null;
259 }
260
261
262 public DiffScmResult diff( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
263 ScmVersion scmVersion1 )
264 throws ScmException
265 {
266 return null;
267 }
268
269
270 public EditScmResult edit( ScmRepository scmRepository, ScmFileSet scmFileSet )
271 throws ScmException
272 {
273 return null;
274 }
275
276
277 public ExportScmResult export( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
278 throws ScmException
279 {
280 return null;
281 }
282
283
284 public ExportScmResult export( ScmRepository scmRepository, ScmFileSet scmFileSet )
285 throws ScmException
286 {
287 return null;
288 }
289
290
291 public ExportScmResult export( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion )
292 throws ScmException
293 {
294 return null;
295 }
296
297
298 public ExportScmResult export( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
299 throws ScmException
300 {
301 return null;
302 }
303
304
305 public ExportScmResult export( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
306 String string )
307 throws ScmException
308 {
309 return null;
310 }
311
312
313 public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, String tag )
314 throws ScmException
315 {
316 return null;
317 }
318
319
320 public ListScmResult list( ScmRepository scmRepository, ScmFileSet scmFileSet, boolean b, ScmVersion scmVersion )
321 throws ScmException
322 {
323 return null;
324 }
325
326
327 public RemoveScmResult remove( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
328 throws ScmException
329 {
330 return null;
331 }
332
333
334 public boolean requiresEditMode()
335 {
336 return false;
337 }
338
339
340 public StatusScmResult status( ScmRepository scmRepository, ScmFileSet scmFileSet )
341 throws ScmException
342 {
343 return null;
344 }
345
346
347 public TagScmResult tag( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
348 throws ScmException
349 {
350 return null;
351 }
352
353
354 public TagScmResult tag( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
355 throws ScmException
356 {
357 return null;
358 }
359
360
361 public UnEditScmResult unedit( ScmRepository scmRepository, ScmFileSet scmFileSet )
362 throws ScmException
363 {
364 return null;
365 }
366
367
368 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
369 throws ScmException
370 {
371 return null;
372 }
373
374
375 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date )
376 throws ScmException
377 {
378 return null;
379 }
380
381
382 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date,
383 String string1 )
384 throws ScmException
385 {
386 return null;
387 }
388
389
390 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
391 throws ScmException
392 {
393 return null;
394 }
395
396 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet )
397 throws ScmException
398 {
399 return null;
400 }
401
402 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion )
403 throws ScmException
404 {
405 return null;
406 }
407
408
409
410
411 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, boolean b )
412 throws ScmException
413 {
414 return null;
415 }
416
417
418 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, boolean b )
419 throws ScmException
420 {
421 return null;
422 }
423
424
425 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
426 boolean b )
427 throws ScmException
428 {
429 return null;
430 }
431
432
433 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
434 String string )
435 throws ScmException
436 {
437 return null;
438 }
439
440
441 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion,
442 Date date )
443 throws ScmException
444 {
445 return null;
446 }
447
448
449 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion scmVersion, Date date,
450 String string )
451 throws ScmException
452 {
453 return null;
454 }
455
456
457 public List validateScmUrl( String string, char c )
458 {
459 return null;
460 }
461
462
463 public String sanitizeTagName( String tag )
464 {
465 return tag;
466 }
467
468
469 public boolean validateTagName( String tag )
470 {
471 return true;
472 }
473
474
475 public TagScmResult tag( ScmRepository arg0, ScmFileSet arg1, String arg2, ScmTagParameters arg3 )
476 throws ScmException
477 {
478 return null;
479 }
480
481 public BranchScmResult branch( ScmRepository arg0, ScmFileSet arg1, String arg2, ScmBranchParameters arg3 )
482 throws ScmException
483 {
484 return null;
485 }
486 }