Package org.nuxeo.runtime.api
Enum J2EEContainerDescriptor
- java.lang.Object
-
- java.lang.Enum<J2EEContainerDescriptor>
-
- org.nuxeo.runtime.api.J2EEContainerDescriptor
-
- All Implemented Interfaces:
Serializable
,Comparable<J2EEContainerDescriptor>
public enum J2EEContainerDescriptor extends Enum<J2EEContainerDescriptor>
Helper class to get container related properties.- Author:
- Stephane Lacoin, bstefanescu, Florent Guillaume
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static J2EEContainerDescriptor
getSelected()
static J2EEContainerDescriptor
valueOf(String name)
Returns the enum constant of this type with the specified name.static J2EEContainerDescriptor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JBOSS
public static final J2EEContainerDescriptor JBOSS
-
TOMCAT
public static final J2EEContainerDescriptor TOMCAT
-
JETTY
public static final J2EEContainerDescriptor JETTY
-
GF3
public static final J2EEContainerDescriptor GF3
-
-
Field Detail
-
log
public static final Log log
-
-
Method Detail
-
values
public static J2EEContainerDescriptor[] 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 (J2EEContainerDescriptor c : J2EEContainerDescriptor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J2EEContainerDescriptor 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
-
getSelected
public static J2EEContainerDescriptor getSelected()
-
-