Class VersionHelper


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

      Fields 
      Modifier and Type Field Description
      static java.util.List<java.lang.String> MANIFEST_FIELDS
      Read-only list of attributes searched into the main section of the jar manifests.
      static java.lang.String MANIFEST_SUMMARY_TAG
      Tag used to group the summary by
    • Constructor Summary

      Constructors 
      Constructor Description
      VersionHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.util.Map<java.lang.String,​java.lang.String>> getVersionDetailedInfo()
      Get detailed information on all internal vitam components versions
      static java.util.Map<java.lang.String,​java.lang.Long> getVersionSummary()
      Get the summary version information for vitam components found in the current classpath.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MANIFEST_SUMMARY_TAG

        public static final java.lang.String MANIFEST_SUMMARY_TAG
        Tag used to group the summary by
        See Also:
        Constant Field Values
      • MANIFEST_FIELDS

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

      • VersionHelper

        public VersionHelper()
    • Method Detail

      • getVersionDetailedInfo

        public static java.util.List<java.util.Map<java.lang.String,​java.lang.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 java.util.Map<java.lang.String,​java.lang.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.