1
2
3
4
5
6
7
8
9
10 package org.eclipse.jgit.internal.transport.sshd;
11
12 import java.util.Collections;
13 import java.util.List;
14 import java.util.Map;
15
16 import org.apache.sshd.client.config.hosts.HostConfigEntry;
17 import org.eclipse.jgit.annotations.NonNull;
18
19
20
21
22
23
24 public class JGitHostConfigEntry extends HostConfigEntry {
25
26 private Map<String, List<String>> multiValuedOptions;
27
28
29
30
31
32
33
34 public void setMultiValuedOptions(Map<String, List<String>> options) {
35 multiValuedOptions = options;
36 }
37
38
39
40
41
42
43 @NonNull
44 public Map<String, List<String>> getMultiValuedOptions() {
45 Map<String, List<String>> options = multiValuedOptions;
46 if (options == null) {
47 return Collections.emptyMap();
48 }
49 return Collections.unmodifiableMap(options);
50 }
51
52 }