1 package org.apache.maven.repository;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 public class Proxy
26 {
27 public static final String PROXY_SOCKS5 = "SOCKS_5";
28
29 public static final String PROXY_SOCKS4 = "SOCKS4";
30
31 public static final String PROXY_HTTP = "HTTP";
32
33
34
35
36 private String host;
37
38
39
40
41 private String userName;
42
43
44
45
46 private String password;
47
48
49
50
51 private int port;
52
53
54
55
56 private String protocol;
57
58
59
60
61 private String nonProxyHosts;
62
63
64
65
66 private String ntlmHost;
67
68
69
70
71 private String ntlmDomain;
72
73
74
75
76
77
78 public String getHost()
79 {
80 return host;
81 }
82
83
84
85
86
87
88 public void setHost( String host )
89 {
90 this.host = host;
91 }
92
93
94
95
96
97
98 public String getPassword()
99 {
100 return password;
101 }
102
103
104
105
106
107
108 public void setPassword( String password )
109 {
110 this.password = password;
111 }
112
113
114
115
116
117
118 public int getPort()
119 {
120 return port;
121 }
122
123
124
125
126
127
128 public void setPort( int port )
129 {
130 this.port = port;
131 }
132
133
134
135
136
137
138 public String getUserName()
139 {
140 return userName;
141 }
142
143
144
145
146
147
148 public void setUserName( String userName )
149 {
150 this.userName = userName;
151 }
152
153
154
155
156
157
158 public String getProtocol()
159 {
160 return protocol;
161 }
162
163
164
165
166 public void setProtocol( String protocol )
167 {
168 this.protocol = protocol;
169 }
170
171 public String getNonProxyHosts()
172 {
173 return nonProxyHosts;
174 }
175
176 public void setNonProxyHosts( String nonProxyHosts )
177 {
178 this.nonProxyHosts = nonProxyHosts;
179 }
180
181 public String getNtlmHost()
182 {
183 return ntlmHost;
184 }
185
186 public void setNtlmHost( String ntlmHost )
187 {
188 this.ntlmHost = ntlmHost;
189 }
190
191 public void setNtlmDomain( String ntlmDomain )
192 {
193 this.ntlmDomain = ntlmDomain;
194 }
195
196 public String getNtlmDomain()
197 {
198 return ntlmDomain;
199 }
200 }