Class VersionManager
java.lang.Object
it.uniroma2.art.semanticturkey.project.VersionManager
Manages version dumps associated with a project.
- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getVersion
(String versionId) void
recordVersion
(VersionInfo newVersionInfo) withdrawVersionRecord
(String versionId)
-
Constructor Details
-
VersionManager
public VersionManager(Project project) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException - Throws:
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
-
-
Method Details
-
getVersions
-
recordVersion
public void recordVersion(VersionInfo newVersionInfo) throws com.fasterxml.jackson.core.JsonProcessingException, ProjectUpdateException, ReservedPropertyUpdateException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
ProjectUpdateException
ReservedPropertyUpdateException
-
withdrawVersionRecord
public VersionInfo withdrawVersionRecord(String versionId) throws com.fasterxml.jackson.core.JsonProcessingException, ProjectUpdateException, ReservedPropertyUpdateException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
ProjectUpdateException
ReservedPropertyUpdateException
-
clearVersionRecords
public void clearVersionRecords() throws com.fasterxml.jackson.core.JsonProcessingException, ProjectUpdateException, ReservedPropertyUpdateException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
ProjectUpdateException
ReservedPropertyUpdateException
-
getVersion
-