Package org.jboss.weld.bootstrap.spi
Enum EEModuleDescriptor.ModuleType
java.lang.Object
java.lang.Enum<EEModuleDescriptor.ModuleType>
org.jboss.weld.bootstrap.spi.EEModuleDescriptor.ModuleType
- All Implemented Interfaces:
Serializable,Comparable<EEModuleDescriptor.ModuleType>,java.lang.constant.Constable
- Enclosing interface:
- EEModuleDescriptor
Enumeration of possible EE module types
- Author:
- Jozef Hartinger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplication client modulesConnector modules (rar)Enterprise archive libraries (ear/lib)EJB archiveWeb modules (wars) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static EEModuleDescriptor.ModuleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EAR
Enterprise archive libraries (ear/lib) -
WEB
Web modules (wars) -
EJB_JAR
EJB archive -
APPLICATION_CLIENT
Application client modules -
CONNECTOR
Connector modules (rar)
-
-
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
-