Enum Class PlatformReleaseType
java.lang.Object
java.lang.Enum<PlatformReleaseType>
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseType
- All Implemented Interfaces:
Serializable,Comparable<PlatformReleaseType>,Constable
Type of a platform release campaign : it drives the target versions proposed for every component and aggregate of the campaign.
-
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 qualifier radix of the versions produced by this type.booleanTells whether this type produces pre-release versions.static PlatformReleaseTypeReturns the enum constant of this class with the specified name.static PlatformReleaseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STABLE
Stable release (ex : 8.0.2). -
BETA
Beta pre-release (ex : 8.0.2-beta-01). -
RC
Release candidate (ex : 8.0.2-RC-01).
-
-
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
-
getQualifierRadix
Returns the qualifier radix of the versions produced by this type.- Returns:
- the qualifier radix, null for a stable release
-
isPrerelease
public boolean isPrerelease()Tells whether this type produces pre-release versions.- Returns:
- true for BETA and RC
-