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