1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.index.updater;
20
21 import java.util.Date;
22
23 public class IndexUpdateResult {
24 private Date timestamp;
25
26 private boolean fullUpdate;
27
28 private boolean successful;
29
30 public IndexUpdateResult() {
31 this.timestamp = null;
32 this.fullUpdate = false;
33 this.successful = false;
34 }
35
36 public Date getTimestamp() {
37 return timestamp;
38 }
39
40 public void setTimestamp(Date timestamp) {
41 this.timestamp = timestamp;
42 }
43
44 public void setFullUpdate(boolean fullUpdate) {
45 this.fullUpdate = fullUpdate;
46 }
47
48 public boolean isFullUpdate() {
49 return this.fullUpdate;
50 }
51
52 public boolean isSuccessful() {
53 return successful;
54 }
55
56 public void setSuccessful(boolean successful) {
57 this.successful = successful;
58 }
59 }