Class PlatformVersionHelper


  • public class PlatformVersionHelper
    extends Object
    • Constructor Detail

      • PlatformVersionHelper

        public PlatformVersionHelper()
    • Method Detail

      • getApplicationName

        public static String getApplicationName()
      • getApplicationVersion

        public static String getApplicationVersion()
      • getPlatformId

        public static org.nuxeo.connect.platform.PlatformId getPlatformId()
      • getDistributionName

        public static String getDistributionName()
      • getDistributionVersion

        public static String getDistributionVersion()
      • getDistributionDate

        public static String getDistributionDate()
      • getDistributionHost

        public static String getDistributionHost()
      • isCompatible

        @Deprecated
        public static boolean isCompatible​(String[] targetPlatforms,
                                           String currentPlatform)
        Deprecated.
        Since 6.0. Use TargetPlatformFilterHelper.isCompatibleWithTargetPlatform(Package, PlatformId)
        See Also:
        TargetPlatformFilterHelper
      • isCompatible

        @Deprecated
        public static boolean isCompatible​(String[] targetPlatforms)
        Deprecated.
        Since 6.0. Use TargetPlatformFilterHelper.isCompatibleWithTargetPlatform(Package, PlatformId)
        See Also:
        getPlatformId(), TargetPlatformFilterHelper