Class DumpManifest
java.lang.Object
org.gcube.informationsystem.registry.DumpManifest
The manifest of a System Dump archive: what describes the archive itself, not the information
it holds. The model the dumped information conforms to is stated by the dumped
RegistryMetadata.
Unknown fields are ignored, so that a reader built on an older version still reads what a newer one writes.
- Author:
- Luca Frosini (ISTI - CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns when the archive was produced, formatted perElement.DATETIME_PATTERN.intReturns the version of the archive format.voidsetCreatedAt(String createdAt) Sets when the archive was produced.voidsetFormatVersion(int formatVersion) Sets the version of the archive format.
-
Constructor Details
-
DumpManifest
public DumpManifest()
-
-
Method Details
-
getFormatVersion
public int getFormatVersion()Returns the version of the archive format.- Returns:
- the format version
-
setFormatVersion
public void setFormatVersion(int formatVersion) Sets the version of the archive format.- Parameters:
formatVersion- the format version
-
getCreatedAt
Returns when the archive was produced, formatted perElement.DATETIME_PATTERN.- Returns:
- the creation timestamp
-
setCreatedAt
Sets when the archive was produced.- Parameters:
createdAt- the creation timestamp, formatted perElement.DATETIME_PATTERN
-