Package fr.gouv.vitam.common
Class SedaVersion
java.lang.Object
fr.gouv.vitam.common.SedaVersion
The class SedaVersion used to get the list the versions by type of Data Object from the file version.conf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetVersionForOtherType
(String type) getVersionForType
(String type) boolean
isSupportedVesion
(String version) void
setBinaryDataObjectVersions
(String[] binaryDataObjectVersions) void
setPhysicalDataObjectVersions
(String[] physicalDataObjectVersions)
-
Constructor Details
-
SedaVersion
public SedaVersion()constructor
-
-
Method Details
-
getVersionForType
- Parameters:
type
-- Returns:
- version list for this type
-
getVersionForOtherType
- Parameters:
type
-- Returns:
- version list for other type than the one requested
-
setBinaryDataObjectVersions
- Parameters:
binaryDataObjectVersions
-
-
setPhysicalDataObjectVersions
- Parameters:
physicalDataObjectVersions
-
-
isSupportedVesion
- Parameters:
version
-- Returns:
- true if version is supported
-