java.lang.Object
fr.gouv.vitam.common.server.application.resources.VersionHelper

public class VersionHelper extends Object
Created by kw on 31/12/2016.
  • Field Details

    • MANIFEST_SUMMARY_TAG

      public static final String MANIFEST_SUMMARY_TAG
      Tag used to group the summary by
      See Also:
    • MANIFEST_FIELDS

      public static final List<String> MANIFEST_FIELDS
      Read-only list of attributes searched into the main section of the jar manifests.
  • Constructor Details

    • VersionHelper

      public VersionHelper()
  • Method Details

    • getVersionDetailedInfo

      public static List<Map<String,String>> getVersionDetailedInfo()
      Get detailed information on all internal vitam components versions
      Returns:
      A read-only list of informations ; each entry stands for a component.
    • getVersionSummary

      public static Map<String,Long> getVersionSummary()
      Get the summary version information for vitam components found in the current classpath.
      Returns:
      A map with keys being the git commit id (long hash) and the value the number of components having this version.