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