org.eclipse.jpt.eclipselink.core.context.persistence.options
Enum TargetServer

java.lang.Object
  extended by java.lang.Enum<TargetServer>
      extended by org.eclipse.jpt.eclipselink.core.context.persistence.options.TargetServer
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TargetServer>

public enum TargetServer
extends java.lang.Enum<TargetServer>

TargetServer


Enum Constant Summary
jboss
           
none
           
oc4j
           
sunas9
           
weblogic
           
weblogic_10
           
weblogic_9
           
websphere
           
websphere_6_1
           
 
Method Summary
static TargetServer getTargetServerFor(java.lang.String literal)
          Return the TargetServer value corresponding to the given literal.
static TargetServer valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TargetServer[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

none

public static final TargetServer none

oc4j

public static final TargetServer oc4j

sunas9

public static final TargetServer sunas9

websphere

public static final TargetServer websphere

websphere_6_1

public static final TargetServer websphere_6_1

weblogic

public static final TargetServer weblogic

weblogic_9

public static final TargetServer weblogic_9

weblogic_10

public static final TargetServer weblogic_10

jboss

public static final TargetServer jboss
Method Detail

values

public static final TargetServer[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TargetServer c : TargetServer.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TargetServer valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getTargetServerFor

public static TargetServer getTargetServerFor(java.lang.String literal)
Return the TargetServer value corresponding to the given literal.