public static enum JavaEEProfile.Type extends Enum<JavaEEProfile.Type>
Enum Constant and Description |
---|
FULL
Full profile.
|
WEB
Web profile.
|
Modifier and Type | Field and Description |
---|---|
private String |
name
JavaEE profile type name.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts JavaEE profile type value to
String . |
static JavaEEProfile.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaEEProfile.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaEEProfile.Type WEB
public static final JavaEEProfile.Type FULL
private final String name
public static JavaEEProfile.Type[] values()
for (JavaEEProfile.Type c : JavaEEProfile.Type.values()) System.out.println(c);
public static JavaEEProfile.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
String
.
toString
in class Enum<JavaEEProfile.Type>
String
representation of the value
of this object.Copyright © 2013. All Rights Reserved.