Package org.apache.tomcat.jakartaee
Enum EESpecProfiles
- All Implemented Interfaces:
Serializable
,Comparable<EESpecProfiles>
,java.lang.constant.Constable
,EESpecProfile
Specification profile defining the replacements performed.
-
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 TypeMethodDescriptionThe pattern used for conversion.The source namespace.The target namespace.static EESpecProfiles
Returns the enum constant of this type with the specified name.static EESpecProfiles[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.apache.tomcat.jakartaee.EESpecProfile
convert
-
Enum Constant Details
-
TOMCAT
Specification profile matching the packages provided with Tomcat. -
EE
Specification profile for the full EE. -
JEE8
Specification profile for the full EE, to convert from Jakarta to EE 8.
-
-
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
-
getSource
Description copied from interface:EESpecProfile
The source namespace.- Specified by:
getSource
in interfaceEESpecProfile
- Returns:
- the source namespace
-
getTarget
Description copied from interface:EESpecProfile
The target namespace.- Specified by:
getTarget
in interfaceEESpecProfile
- Returns:
- the target namespace
-
getPattern
Description copied from interface:EESpecProfile
The pattern used for conversion.- Specified by:
getPattern
in interfaceEESpecProfile
- Returns:
- the pattern
-