Class SedaVersion

java.lang.Object
fr.gouv.vitam.common.SedaVersion

public class SedaVersion extends Object
The class SedaVersion used to get the list the versions by type of Data Object from the file version.conf
  • Constructor Details

    • SedaVersion

      public SedaVersion()
      constructor
  • Method Details

    • getVersionForType

      public List<String> getVersionForType(String type)
      Parameters:
      type -
      Returns:
      version list for this type
    • getVersionForOtherType

      public List<String> getVersionForOtherType(String type)
      Parameters:
      type -
      Returns:
      version list for other type than the one requested
    • setBinaryDataObjectVersions

      public void setBinaryDataObjectVersions(String[] binaryDataObjectVersions)
      Parameters:
      binaryDataObjectVersions -
    • setPhysicalDataObjectVersions

      public void setPhysicalDataObjectVersions(String[] physicalDataObjectVersions)
      Parameters:
      physicalDataObjectVersions -
    • isSupportedVesion

      public boolean isSupportedVesion(String version)
      Parameters:
      version -
      Returns:
      true if version is supported