Class OpenMetadataArchiveWrapper
java.lang.Object
org.odpi.openmetadata.serveroperations.server.OpenMetadataArchiveWrapper
- All Implemented Interfaces:
OpenMetadataArchiveStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the contents of the archive.void
setArchiveContents
(OpenMetadataArchive archiveContents) Set new contents into the archive.
-
Constructor Details
-
OpenMetadataArchiveWrapper
public OpenMetadataArchiveWrapper()
-
-
Method Details
-
getArchiveContents
Return the contents of the archive.- Specified by:
getArchiveContents
in interfaceOpenMetadataArchiveStore
- Returns:
- OpenMetadataArchive object
- Throws:
RepositoryErrorException
- there is a problem accessing the archive
-
setArchiveContents
Set new contents into the archive. This overrides any content previously stored.- Specified by:
setArchiveContents
in interfaceOpenMetadataArchiveStore
- Parameters:
archiveContents
- OpenMetadataArchive object
-