Class VersionUtils


  • public final class VersionUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getAgentVersion()  
      static java.lang.String getManifestEntry​(java.io.File jarFile, java.lang.String manifestAttribute)  
      static java.lang.String getVersion​(java.lang.Class<?> clazz, java.lang.String groupId, java.lang.String artifactId)  
      • Methods inherited from class java.lang.Object

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

      • getAgentVersion

        @Nullable
        public static java.lang.String getAgentVersion()
      • getVersion

        @Nullable
        public static java.lang.String getVersion​(java.lang.Class<?> clazz,
                                                  java.lang.String groupId,
                                                  java.lang.String artifactId)
      • getManifestEntry

        @Nullable
        public static java.lang.String getManifestEntry​(@Nullable
                                                        java.io.File jarFile,
                                                        java.lang.String manifestAttribute)