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>
- Enclosing interface:
- EEModuleDescriptor
public static enum EEModuleDescriptor.ModuleType extends Enum<EEModuleDescriptor.ModuleType>
Enumeration of possible EE module types- Author:
- Jozef Hartinger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION_CLIENT
CONNECTOR
EAR
EJB_JAR
WEB
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EEModuleDescriptor.ModuleType
valueOf(String name)
Returns 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 Detail
-
EAR
public static final EEModuleDescriptor.ModuleType EAR
-
WEB
public static final EEModuleDescriptor.ModuleType WEB
-
EJB_JAR
public static final EEModuleDescriptor.ModuleType EJB_JAR
-
APPLICATION_CLIENT
public static final EEModuleDescriptor.ModuleType APPLICATION_CLIENT
-
CONNECTOR
public static final EEModuleDescriptor.ModuleType CONNECTOR
-
-
Method Detail
-
values
public static EEModuleDescriptor.ModuleType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EEModuleDescriptor.ModuleType c : EEModuleDescriptor.ModuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EEModuleDescriptor.ModuleType valueOf(String name)
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
-
-