1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.scm.command.info;
20
21 import java.time.OffsetDateTime;
22 import java.time.temporal.TemporalAccessor;
23
24
25
26
27
28
29
30
31
32
33 public class InfoItem {
34 private String path;
35
36 private String url;
37
38 private String repositoryRoot;
39
40 private String repositoryUUID;
41
42 private String revision;
43
44 private String nodeKind;
45
46 private String schedule;
47
48 private String lastChangedAuthor;
49
50 private String lastChangedRevision;
51
52 private String lastChangedDate;
53
54 private OffsetDateTime lastChangedDateTime;
55
56 public String getPath() {
57 return path;
58 }
59
60 public void setPath(String path) {
61 this.path = path;
62 }
63
64 public String getURL() {
65 return url;
66 }
67
68 public void setURL(String url) {
69 this.url = url;
70 }
71
72 public String getRepositoryRoot() {
73 return repositoryRoot;
74 }
75
76 public void setRepositoryRoot(String repositoryRoot) {
77 this.repositoryRoot = repositoryRoot;
78 }
79
80 public String getRepositoryUUID() {
81 return repositoryUUID;
82 }
83
84 public void setRepositoryUUID(String repositoryUUID) {
85 this.repositoryUUID = repositoryUUID;
86 }
87
88 public String getRevision() {
89 return revision;
90 }
91
92 public void setRevision(String revision) {
93 this.revision = revision;
94 }
95
96 public String getNodeKind() {
97 return nodeKind;
98 }
99
100 public void setNodeKind(String nodeKind) {
101 this.nodeKind = nodeKind;
102 }
103
104 public String getSchedule() {
105 return schedule;
106 }
107
108 public void setSchedule(String schedule) {
109 this.schedule = schedule;
110 }
111
112 public String getLastChangedAuthor() {
113 return lastChangedAuthor;
114 }
115
116 public void setLastChangedAuthor(String lastChangedAuthor) {
117 this.lastChangedAuthor = lastChangedAuthor;
118 }
119
120 public String getLastChangedRevision() {
121 return lastChangedRevision;
122 }
123
124 public void setLastChangedRevision(String lastChangedRevision) {
125 this.lastChangedRevision = lastChangedRevision;
126 }
127
128
129
130
131 @Deprecated
132 public String getLastChangedDate() {
133 return lastChangedDate;
134 }
135
136
137
138
139 @Deprecated
140 public void setLastChangedDate(String lastChangedDate) {
141 this.lastChangedDate = lastChangedDate;
142 }
143
144
145
146
147
148 public OffsetDateTime getLastChangedDateTime() {
149 return lastChangedDateTime;
150 }
151
152
153
154
155
156 public void setLastChangedDateTime(TemporalAccessor accessor) {
157 this.lastChangedDateTime = OffsetDateTime.from(accessor);
158 }
159 }