Class DumpManifest
- java.lang.Object
-
- org.gcube.informationsystem.registry.DumpManifest
-
public class DumpManifest extends Object
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 dumpedRegistryMetadata.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 Constructor Description DumpManifest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedAt()Returns when the archive was produced, formatted perElement.DATETIME_PATTERN.intgetFormatVersion()Returns 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.
-
-
-
Method Detail
-
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
public String getCreatedAt()
Returns when the archive was produced, formatted perElement.DATETIME_PATTERN.- Returns:
- the creation timestamp
-
setCreatedAt
public void setCreatedAt(String createdAt)
Sets when the archive was produced.- Parameters:
createdAt- the creation timestamp, formatted perElement.DATETIME_PATTERN
-
-