1
2
3
4
5
6 package org.apache.maven.plugins.javadoc.options;
7
8
9
10
11
12
13
14 @SuppressWarnings( "all" )
15 public class JavadocOptions
16 implements java.io.Serializable
17 {
18
19
20
21
22
23
24
25
26 private java.util.List<Group> groups;
27
28
29
30
31 private java.util.List<Tag> tags;
32
33
34
35
36 private java.util.List<DocletArtifact> docletArtifacts;
37
38
39
40
41 private java.util.List<Taglet> taglets;
42
43
44
45
46 private java.util.List<OfflineLink> offlineLinks;
47
48
49
50
51 private java.util.List<TagletArtifact> tagletArtifacts;
52
53
54
55
56 private java.util.List<ResourcesArtifact> resourcesArtifacts;
57
58
59
60
61 private java.util.List<BootclasspathArtifact> bootclasspathArtifacts;
62
63
64
65
66 private java.util.List<String> links;
67
68
69
70
71 private java.util.List<String> excludePackageNames;
72
73
74
75
76
77 private boolean docfilesSubdirsUsed = false;
78
79
80
81
82
83 private String excludedDocfilesSubdirs;
84
85
86
87
88
89
90
91
92
93 private String javadocResourcesDirectory;
94
95
96
97
98 private String modelEncoding = "UTF-8";
99
100
101
102
103
104
105
106
107
108
109
110 public void addBootclasspathArtifact( BootclasspathArtifact bootclasspathArtifact )
111 {
112 getBootclasspathArtifacts().add( bootclasspathArtifact );
113 }
114
115
116
117
118
119
120 public void addDocletArtifact( DocletArtifact docletArtifact )
121 {
122 getDocletArtifacts().add( docletArtifact );
123 }
124
125
126
127
128
129
130 public void addExcludePackageName( String string )
131 {
132 getExcludePackageNames().add( string );
133 }
134
135
136
137
138
139
140 public void addGroup( Group group )
141 {
142 getGroups().add( group );
143 }
144
145
146
147
148
149
150 public void addLink( String string )
151 {
152 getLinks().add( string );
153 }
154
155
156
157
158
159
160 public void addOfflineLink( OfflineLink offlineLink )
161 {
162 getOfflineLinks().add( offlineLink );
163 }
164
165
166
167
168
169
170 public void addResourcesArtifact( ResourcesArtifact resourcesArtifact )
171 {
172 getResourcesArtifacts().add( resourcesArtifact );
173 }
174
175
176
177
178
179
180 public void addTag( Tag tag )
181 {
182 getTags().add( tag );
183 }
184
185
186
187
188
189
190 public void addTaglet( Taglet taglet )
191 {
192 getTaglets().add( taglet );
193 }
194
195
196
197
198
199
200 public void addTagletArtifact( TagletArtifact tagletArtifact )
201 {
202 getTagletArtifacts().add( tagletArtifact );
203 }
204
205
206
207
208
209
210 public java.util.List<BootclasspathArtifact> getBootclasspathArtifacts()
211 {
212 if ( this.bootclasspathArtifacts == null )
213 {
214 this.bootclasspathArtifacts = new java.util.ArrayList<BootclasspathArtifact>();
215 }
216
217 return this.bootclasspathArtifacts;
218 }
219
220
221
222
223
224
225 public java.util.List<DocletArtifact> getDocletArtifacts()
226 {
227 if ( this.docletArtifacts == null )
228 {
229 this.docletArtifacts = new java.util.ArrayList<DocletArtifact>();
230 }
231
232 return this.docletArtifacts;
233 }
234
235
236
237
238
239
240 public java.util.List<String> getExcludePackageNames()
241 {
242 if ( this.excludePackageNames == null )
243 {
244 this.excludePackageNames = new java.util.ArrayList<String>();
245 }
246
247 return this.excludePackageNames;
248 }
249
250
251
252
253
254
255
256 public String getExcludedDocfilesSubdirs()
257 {
258 return this.excludedDocfilesSubdirs;
259 }
260
261
262
263
264
265
266 public java.util.List<Group> getGroups()
267 {
268 if ( this.groups == null )
269 {
270 this.groups = new java.util.ArrayList<Group>();
271 }
272
273 return this.groups;
274 }
275
276
277
278
279
280
281
282
283
284 public String getJavadocResourcesDirectory()
285 {
286 return this.javadocResourcesDirectory;
287 }
288
289
290
291
292
293
294 public java.util.List<String> getLinks()
295 {
296 if ( this.links == null )
297 {
298 this.links = new java.util.ArrayList<String>();
299 }
300
301 return this.links;
302 }
303
304
305
306
307
308
309 public String getModelEncoding()
310 {
311 return this.modelEncoding;
312 }
313
314
315
316
317
318
319 public java.util.List<OfflineLink> getOfflineLinks()
320 {
321 if ( this.offlineLinks == null )
322 {
323 this.offlineLinks = new java.util.ArrayList<OfflineLink>();
324 }
325
326 return this.offlineLinks;
327 }
328
329
330
331
332
333
334 public java.util.List<ResourcesArtifact> getResourcesArtifacts()
335 {
336 if ( this.resourcesArtifacts == null )
337 {
338 this.resourcesArtifacts = new java.util.ArrayList<ResourcesArtifact>();
339 }
340
341 return this.resourcesArtifacts;
342 }
343
344
345
346
347
348
349 public java.util.List<TagletArtifact> getTagletArtifacts()
350 {
351 if ( this.tagletArtifacts == null )
352 {
353 this.tagletArtifacts = new java.util.ArrayList<TagletArtifact>();
354 }
355
356 return this.tagletArtifacts;
357 }
358
359
360
361
362
363
364 public java.util.List<Taglet> getTaglets()
365 {
366 if ( this.taglets == null )
367 {
368 this.taglets = new java.util.ArrayList<Taglet>();
369 }
370
371 return this.taglets;
372 }
373
374
375
376
377
378
379 public java.util.List<Tag> getTags()
380 {
381 if ( this.tags == null )
382 {
383 this.tags = new java.util.ArrayList<Tag>();
384 }
385
386 return this.tags;
387 }
388
389
390
391
392
393
394
395 public boolean isDocfilesSubdirsUsed()
396 {
397 return this.docfilesSubdirsUsed;
398 }
399
400
401
402
403
404
405 public void removeBootclasspathArtifact( BootclasspathArtifact bootclasspathArtifact )
406 {
407 getBootclasspathArtifacts().remove( bootclasspathArtifact );
408 }
409
410
411
412
413
414
415 public void removeDocletArtifact( DocletArtifact docletArtifact )
416 {
417 getDocletArtifacts().remove( docletArtifact );
418 }
419
420
421
422
423
424
425 public void removeExcludePackageName( String string )
426 {
427 getExcludePackageNames().remove( string );
428 }
429
430
431
432
433
434
435 public void removeGroup( Group group )
436 {
437 getGroups().remove( group );
438 }
439
440
441
442
443
444
445 public void removeLink( String string )
446 {
447 getLinks().remove( string );
448 }
449
450
451
452
453
454
455 public void removeOfflineLink( OfflineLink offlineLink )
456 {
457 getOfflineLinks().remove( offlineLink );
458 }
459
460
461
462
463
464
465 public void removeResourcesArtifact( ResourcesArtifact resourcesArtifact )
466 {
467 getResourcesArtifacts().remove( resourcesArtifact );
468 }
469
470
471
472
473
474
475 public void removeTag( Tag tag )
476 {
477 getTags().remove( tag );
478 }
479
480
481
482
483
484
485 public void removeTaglet( Taglet taglet )
486 {
487 getTaglets().remove( taglet );
488 }
489
490
491
492
493
494
495 public void removeTagletArtifact( TagletArtifact tagletArtifact )
496 {
497 getTagletArtifacts().remove( tagletArtifact );
498 }
499
500
501
502
503
504
505 public void setBootclasspathArtifacts( java.util.List<BootclasspathArtifact> bootclasspathArtifacts )
506 {
507 this.bootclasspathArtifacts = bootclasspathArtifacts;
508 }
509
510
511
512
513
514
515
516 public void setDocfilesSubdirsUsed( boolean docfilesSubdirsUsed )
517 {
518 this.docfilesSubdirsUsed = docfilesSubdirsUsed;
519 }
520
521
522
523
524
525
526 public void setDocletArtifacts( java.util.List<DocletArtifact> docletArtifacts )
527 {
528 this.docletArtifacts = docletArtifacts;
529 }
530
531
532
533
534
535
536
537 public void setExcludePackageNames( java.util.List<String> excludePackageNames )
538 {
539 this.excludePackageNames = excludePackageNames;
540 }
541
542
543
544
545
546
547
548
549 public void setExcludedDocfilesSubdirs( String excludedDocfilesSubdirs )
550 {
551 this.excludedDocfilesSubdirs = excludedDocfilesSubdirs;
552 }
553
554
555
556
557
558
559 public void setGroups( java.util.List<Group> groups )
560 {
561 this.groups = groups;
562 }
563
564
565
566
567
568
569
570
571
572
573 public void setJavadocResourcesDirectory( String javadocResourcesDirectory )
574 {
575 this.javadocResourcesDirectory = javadocResourcesDirectory;
576 }
577
578
579
580
581
582
583 public void setLinks( java.util.List<String> links )
584 {
585 this.links = links;
586 }
587
588
589
590
591
592
593 public void setModelEncoding( String modelEncoding )
594 {
595 this.modelEncoding = modelEncoding;
596 }
597
598
599
600
601
602
603 public void setOfflineLinks( java.util.List<OfflineLink> offlineLinks )
604 {
605 this.offlineLinks = offlineLinks;
606 }
607
608
609
610
611
612
613 public void setResourcesArtifacts( java.util.List<ResourcesArtifact> resourcesArtifacts )
614 {
615 this.resourcesArtifacts = resourcesArtifacts;
616 }
617
618
619
620
621
622
623 public void setTagletArtifacts( java.util.List<TagletArtifact> tagletArtifacts )
624 {
625 this.tagletArtifacts = tagletArtifacts;
626 }
627
628
629
630
631
632
633 public void setTaglets( java.util.List<Taglet> taglets )
634 {
635 this.taglets = taglets;
636 }
637
638
639
640
641
642
643 public void setTags( java.util.List<Tag> tags )
644 {
645 this.tags = tags;
646 }
647
648 }