@@ -4,27 +4,51 @@ import com.intellij.openapi.components.BaseState
4
4
import com.intellij.util.xmlb.annotations.Attribute
5
5
6
6
class RecentWorkspaceConnection (
7
+ coderWorkspaceHostname : String? = null ,
8
+ projectPath : String? = null ,
9
+ lastOpened : String? = null ,
10
+ ideProductCode : String? = null ,
11
+ ideBuildNumber : String? = null ,
12
+ downloadSource : String? = null ,
13
+ idePathOnHost : String? = null ,
14
+ webTerminalLink : String? = null ,
15
+ configDirectory : String? = null ,
16
+ name : String? = null ,
17
+ ) : BaseState(), Comparable<RecentWorkspaceConnection> {
7
18
@get:Attribute
8
- var coderWorkspaceHostname : String? = null ,
19
+ var coderWorkspaceHostname by string()
9
20
@get:Attribute
10
- var projectPath : String? = null ,
21
+ var projectPath by string()
11
22
@get:Attribute
12
- var lastOpened : String? = null ,
23
+ var lastOpened by string()
13
24
@get:Attribute
14
- var ideProductCode : String? = null ,
25
+ var ideProductCode by string()
15
26
@get:Attribute
16
- var ideBuildNumber : String? = null ,
27
+ var ideBuildNumber by string()
17
28
@get:Attribute
18
- var downloadSource : String? = null ,
29
+ var downloadSource by string()
19
30
@get:Attribute
20
- var idePathOnHost : String? = null ,
31
+ var idePathOnHost by string()
21
32
@get:Attribute
22
- var webTerminalLink : String? = null ,
33
+ var webTerminalLink by string()
23
34
@get:Attribute
24
- var configDirectory : String? = null ,
35
+ var configDirectory by string()
25
36
@get:Attribute
26
- var name : String? = null ,
27
- ) : BaseState(), Comparable<RecentWorkspaceConnection> {
37
+ var name by string()
38
+
39
+ init {
40
+ this .coderWorkspaceHostname = coderWorkspaceHostname
41
+ this .projectPath = projectPath
42
+ this .lastOpened = lastOpened
43
+ this .ideProductCode = ideProductCode
44
+ this .ideBuildNumber = ideBuildNumber
45
+ this .downloadSource = downloadSource
46
+ this .idePathOnHost = idePathOnHost
47
+ this .webTerminalLink = webTerminalLink
48
+ this .configDirectory = configDirectory
49
+ this .name = name
50
+ }
51
+
28
52
override fun equals (other : Any? ): Boolean {
29
53
if (this == = other) return true
30
54
if (javaClass != other?.javaClass) return false
0 commit comments