org.mule.util
Class JdkVersionUtils
java.lang.Object
org.mule.util.JdkVersionUtils
public class JdkVersionUtils
- extends Object
Field Summary |
static Pattern |
JDK_VERSION
pattern with groups for major, minor, micro, update and milestone (if exists). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDK_VERSION
public static final Pattern JDK_VERSION
- pattern with groups for major, minor, micro, update and milestone (if exists).
major_version.minor_version.micro_version[_update_version][-milestone]
JdkVersionUtils
public JdkVersionUtils()
createJdkVersionRanges
public static List<JdkVersionUtils.JdkVersionRange> createJdkVersionRanges(String versionsString)
getJdkVersion
public static JdkVersionUtils.JdkVersion getJdkVersion()
getSupportedJdks
public static String getSupportedJdks()
isSupportedJdkVendor
public static boolean isSupportedJdkVendor()
getRecommendedJdks
public static String getRecommendedJdks()
isSupportedJdkVersion
public static boolean isSupportedJdkVersion()
isRecommendedJdkVersion
public static boolean isRecommendedJdkVersion()
validateJdk
public static void validateJdk()
throws RuntimeException
- Validates that the jdk version and vendor are acceptable values (either supported or not invalid).
- Throws:
RuntimeException
- if the jdk vendor or version are invalid (known to not work)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.