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 String
getApplicationName()
static String
getApplicationVersion()
static String
getDistributionDate()
static String
getDistributionHost()
static String
getDistributionName()
static String
getDistributionVersion()
static org.nuxeo.connect.platform.PlatformId
getPlatformId()
static boolean
isCompatible(String[] targetPlatforms)
Deprecated.Since 6.0.static boolean
isCompatible(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
-
-