Enum TapestryVersion
- All Implemented Interfaces:
Serializable
,Comparable<TapestryVersion>
,java.lang.constant.Constable
Represents a Tapestry version that needs a migration due to names that moved from
one package to another.
-
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 TypeMethodDescriptionReturns the version number.Returns the Git hash or tag representing the version previous to this one.Represents the Git hash or tag representing this version.toString()
static TapestryVersion
Returns the enum constant of this type with the specified name.static TapestryVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TAPESTRY_5_7_0
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
Returns the version number. -
getPreviousVersionGitHash
Returns the Git hash or tag representing the version previous to this one. -
getVersionGitHash
Represents the Git hash or tag representing this version.- Returns:
-
toString
- Overrides:
toString
in classEnum<TapestryVersion>
-