1
2
3
4
5
6
7
8
9
10
11 package psiprobe.model.certificates;
12
13 import java.io.Serializable;
14 import java.util.ArrayList;
15 import java.util.Collection;
16 import java.util.Collections;
17 import java.util.List;
18
19
20
21
22 public class ConnectorInfo implements Serializable {
23
24
25 private static final long serialVersionUID = 5927447793822367835L;
26
27
28 private String name;
29
30
31 private String defaultSslHostConfigName;
32
33
34 private List<SslHostConfigInfo> sslHostConfigInfos;
35
36
37
38
39
40
41 public String getName() {
42 return name;
43 }
44
45
46
47
48
49
50 public void setName(String name) {
51 this.name = name;
52 }
53
54
55
56
57
58
59 public List<SslHostConfigInfo> getSslHostConfigInfos() {
60 return sslHostConfigInfos == null ? Collections.emptyList()
61 : new ArrayList<>(sslHostConfigInfos);
62 }
63
64
65
66
67
68
69 public void setSslHostConfigInfos(Collection<SslHostConfigInfo> sslHostConfigInfos) {
70 this.sslHostConfigInfos =
71 sslHostConfigInfos == null ? Collections.emptyList() : new ArrayList<>(sslHostConfigInfos);
72 }
73
74
75
76
77
78
79 public String getDefaultSslHostConfigName() {
80 return defaultSslHostConfigName;
81 }
82
83
84
85
86
87
88 public void setDefaultSslHostConfigName(String defaultSslHostConfigName) {
89 this.defaultSslHostConfigName = defaultSslHostConfigName;
90 }
91
92 }