Enum Constant and Description |
---|
GERONIMO |
GLASSFISH |
JBOSS |
WEBLOGIC |
Modifier and Type | Method and Description |
---|---|
static Vendor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Vendor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vendor GERONIMO
public static final Vendor GLASSFISH
public static final Vendor JBOSS
public static final Vendor WEBLOGIC
public static Vendor[] values()
for (Vendor c : Vendor.values()) System.out.println(c);
public static Vendor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null