Package io.microsphere.spring.core
Enum Class SpringVersion
- All Implemented Interfaces:
Serializable
,Comparable<SpringVersion>
,Constable
The enumeration for the released Spring versions since 6.0
- Since:
- 1.0.0
- Author:
- Mercy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
eq
(SpringVersion that) boolean
equals
(SpringVersion that) boolean
ge
(SpringVersion that) int
getMajor()
int
getMinor()
int
getPatch()
io.microsphere.util.Version
boolean
gt
(SpringVersion that) boolean
boolean
isGreaterThan
(SpringVersion that) boolean
isLessOrEqual
(SpringVersion that) boolean
isLessThan
(SpringVersion that) boolean
le
(SpringVersion that) boolean
lt
(SpringVersion that) static SpringVersion
Returns the enum constant of this class with the specified name.static SpringVersion[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPRING_6_0
-
SPRING_6_0_0
-
SPRING_6_0_1
-
SPRING_6_0_2
-
SPRING_6_0_3
-
SPRING_6_0_4
-
SPRING_6_0_5
-
SPRING_6_0_6
-
SPRING_6_0_7
-
SPRING_6_0_8
-
SPRING_6_0_9
-
SPRING_6_0_10
-
SPRING_6_0_11
-
SPRING_6_0_12
-
SPRING_6_0_13
-
SPRING_6_0_14
-
SPRING_6_0_15
-
SPRING_6_0_16
-
SPRING_6_0_17
-
SPRING_6_0_18
-
SPRING_6_0_19
-
SPRING_6_0_20
-
SPRING_6_0_21
-
SPRING_6_0_22
-
SPRING_6_0_23
-
SPRING_6_1
-
SPRING_6_1_0
-
SPRING_6_1_1
-
SPRING_6_1_2
-
SPRING_6_1_3
-
SPRING_6_1_4
-
SPRING_6_1_5
-
SPRING_6_1_6
-
SPRING_6_1_7
-
SPRING_6_1_8
-
SPRING_6_1_9
-
SPRING_6_1_10
-
SPRING_6_1_11
-
SPRING_6_1_12
-
SPRING_6_1_13
-
SPRING_6_1_14
-
SPRING_6_1_15
-
SPRING_6_1_16
-
SPRING_6_1_17
-
SPRING_6_1_18
-
SPRING_6_1_19
-
SPRING_6_1_20
-
SPRING_6_1_21
-
SPRING_6_2
-
SPRING_6_2_0
-
SPRING_6_2_1
-
SPRING_6_2_2
-
SPRING_6_2_3
-
SPRING_6_2_4
-
SPRING_6_2_5
-
SPRING_6_2_6
-
SPRING_6_2_7
-
SPRING_6_2_8
-
SPRING_6_2_9
-
SPRING_6_2_10
-
SPRING_6_2_11
-
CURRENT
-
-
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
-
getVersion
public io.microsphere.util.Version getVersion() -
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
gt
-
isGreaterThan
-
ge
-
isGreaterOrEqual
-
lt
-
isLessThan
-
le
-
isLessOrEqual
-
eq
-
equals
-