Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.api
Enum J2EEContainerDescriptor

java.lang.Object
  extended by java.lang.Enum<J2EEContainerDescriptor>
      extended by 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

Enum Constant Summary
GF3
           
JBOSS
           
JETTY
           
TOMCAT
           
 
Field Summary
static Log log
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

getSelected

public static J2EEContainerDescriptor getSelected()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.