1 package org.apache.maven.shared.jarsigner;
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.shared.utils.cli.javatool.AbstractJavaToolRequest;
23
24 import java.io.File;
25
26
27
28
29
30
31
32
33 public abstract class AbstractJarSignerRequest
34 extends AbstractJavaToolRequest
35 implements JarSignerRequest
36 {
37
38
39
40 private boolean verbose;
41
42
43
44
45 private String keystore;
46
47
48
49
50 private String alias;
51
52
53
54
55
56 private String maxMemory;
57
58
59
60
61 private String[] arguments;
62
63
64
65
66 private File workingDirectory;
67
68
69
70
71 private File archive;
72
73
74
75
76 protected boolean protectedAuthenticationPath;
77
78
79
80
81 public boolean isVerbose()
82 {
83 return verbose;
84 }
85
86
87
88
89 public String getKeystore()
90 {
91 return keystore;
92 }
93
94
95
96
97 public String getAlias()
98 {
99 return alias;
100 }
101
102
103
104
105 public String getMaxMemory()
106 {
107 return maxMemory;
108 }
109
110
111
112
113 public String[] getArguments()
114 {
115 return arguments;
116 }
117
118
119
120
121 public File getWorkingDirectory()
122 {
123 return workingDirectory;
124 }
125
126
127
128
129 public File getArchive()
130 {
131 return archive;
132 }
133
134
135
136
137 public boolean isProtectedAuthenticationPath()
138 {
139 return protectedAuthenticationPath;
140 }
141
142
143
144
145 public void setVerbose( boolean verbose )
146 {
147 this.verbose = verbose;
148 }
149
150
151
152
153 public void setKeystore( String keystore )
154 {
155 this.keystore = keystore;
156 }
157
158
159
160
161 public void setAlias( String alias )
162 {
163 this.alias = alias;
164 }
165
166
167
168
169 public void setMaxMemory( String maxMemory )
170 {
171 this.maxMemory = maxMemory;
172 }
173
174
175
176
177 public void setArguments( String... arguments )
178 {
179 this.arguments = arguments;
180 }
181
182
183
184
185 public void setWorkingDirectory( File workingDirectory )
186 {
187 this.workingDirectory = workingDirectory;
188 }
189
190
191
192
193 public void setArchive( File archive )
194 {
195 this.archive = archive;
196 }
197
198
199
200
201 public void setProtectedAuthenticationPath( boolean protect )
202 {
203 this.protectedAuthenticationPath = protect;
204 }
205 }