Package org.nuxeo.ecm.admin.runtime
Class PlatformVersionHelper
- java.lang.Object
-
- org.nuxeo.ecm.admin.runtime.PlatformVersionHelper
-
public class PlatformVersionHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description PlatformVersionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringgetApplicationName()static StringgetApplicationVersion()static StringgetDistributionDate()static StringgetDistributionHost()static StringgetDistributionName()static StringgetDistributionVersion()static org.nuxeo.connect.platform.PlatformIdgetPlatformId()static booleanisCompatible(String[] targetPlatforms)Deprecated.Since 6.0.static booleanisCompatible(String[] targetPlatforms, String currentPlatform)Deprecated.Since 6.0.
-
-
-
Field Detail
-
UNKNOWN
public static final String UNKNOWN
- See Also:
- Constant Field Values
-
-
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. UseTargetPlatformFilterHelper.isCompatibleWithTargetPlatform(Package, PlatformId)- See Also:
TargetPlatformFilterHelper
-
isCompatible
@Deprecated public static boolean isCompatible(String[] targetPlatforms)
Deprecated.Since 6.0. UseTargetPlatformFilterHelper.isCompatibleWithTargetPlatform(Package, PlatformId)- See Also:
getPlatformId(),TargetPlatformFilterHelper
-
-