1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugins.shade;
20
21 import java.io.File;
22 import java.util.List;
23 import java.util.Set;
24
25 import org.apache.maven.plugins.shade.filter.Filter;
26 import org.apache.maven.plugins.shade.relocation.Relocator;
27 import org.apache.maven.plugins.shade.resource.ResourceTransformer;
28
29
30
31
32
33 public class ShadeRequest {
34
35 private Set<File> jars;
36
37 private File uberJar;
38
39 private List<Filter> filters;
40
41 private List<Relocator> relocators;
42
43 private List<ResourceTransformer> resourceTransformers;
44
45 private boolean shadeSourcesContent;
46
47 public Set<File> getJars() {
48 return jars;
49 }
50
51
52
53
54
55
56 public void setJars(Set<File> jars) {
57 this.jars = jars;
58 }
59
60 public File getUberJar() {
61 return uberJar;
62 }
63
64
65
66
67
68
69 public void setUberJar(File uberJar) {
70 this.uberJar = uberJar;
71 }
72
73 public List<Filter> getFilters() {
74 return filters;
75 }
76
77
78
79
80
81
82 public void setFilters(List<Filter> filters) {
83 this.filters = filters;
84 }
85
86 public List<Relocator> getRelocators() {
87 return relocators;
88 }
89
90
91
92
93
94
95 public void setRelocators(List<Relocator> relocators) {
96 this.relocators = relocators;
97 }
98
99 public List<ResourceTransformer> getResourceTransformers() {
100 return resourceTransformers;
101 }
102
103
104
105
106
107
108 public void setResourceTransformers(List<ResourceTransformer> resourceTransformers) {
109 this.resourceTransformers = resourceTransformers;
110 }
111
112 public boolean isShadeSourcesContent() {
113 return shadeSourcesContent;
114 }
115
116
117
118
119
120
121
122
123 public void setShadeSourcesContent(boolean shadeSourcesContent) {
124 this.shadeSourcesContent = shadeSourcesContent;
125 }
126 }