Class MetasyncHistory
java.lang.Object
org.gbif.api.model.registry.metasync.MetasyncHistory
Metadata synchronization historical information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Details about the metasync operation.@NotNull UUID
Key of the synchronized installation.Result of the metasync operation.@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date
Date when the metasync operation was executed.int
hashCode()
void
setDetails
(String details) void
setInstallationKey
(UUID installationKey) void
setResult
(MetasyncResult result) void
setSyncDate
(Date syncDate) toString()
-
Constructor Details
-
MetasyncHistory
public MetasyncHistory()
-
-
Method Details
-
getInstallationKey
Key of the synchronized installation.- Returns:
- the installation key that was synchronized
-
setInstallationKey
-
getSyncDate
@Nullable @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getSyncDate()Date when the metasync operation was executed.
NB: null before the record is persisted, not-null afterwards.- Returns:
- timestamp when the synchronization was executed
-
setSyncDate
-
getResult
Result of the metasync operation.- Returns:
- the result of the metasync operation
-
setResult
-
getDetails
Details about the metasync operation.- Returns:
- the metasync details
-
setDetails
-
equals
-
hashCode
-
toString
-