- All Implemented Interfaces:
Serializable,Comparable<JavaVersion>,Constable
Describes the Java versions supported by Mule
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract org.mule.runtime.api.meta.MuleVersionstatic JavaVersionReturns the enum constant of this class with the specified name.static JavaVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.abstract Stringversion()
-
Enum Constant Details
-
JAVA_8
-
JAVA_11
-
JAVA_17
-
JAVA_21
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
version
- Returns:
- The Java version in String format
-
supportedSince
public abstract org.mule.runtime.api.meta.MuleVersion supportedSince()- Returns:
- The version of Mule in which support for this Java version was first introduced
-