Package org.eclipse.tycho.core.ee
Enum EEVersion.EEType
- java.lang.Object
-
- java.lang.Enum<EEVersion.EEType>
-
- org.eclipse.tycho.core.ee.EEVersion.EEType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EEVersion.EEType>
- Enclosing class:
- EEVersion
public static enum EEVersion.EEType extends java.lang.Enum<EEVersion.EEType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CDC_FOUNDATION
JAVA_SE
JAVA_SE_COMPACT1
JAVA_SE_COMPACT2
JAVA_SE_COMPACT3
JRE
OSGI_MINIMUM
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
profileName
-
Constructor Summary
Constructors Modifier Constructor Description private
EEType(java.lang.String profileName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EEVersion.EEType
fromName(java.lang.String profileName)
static EEVersion.EEType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EEVersion.EEType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OSGI_MINIMUM
public static final EEVersion.EEType OSGI_MINIMUM
-
CDC_FOUNDATION
public static final EEVersion.EEType CDC_FOUNDATION
-
JRE
public static final EEVersion.EEType JRE
-
JAVA_SE
public static final EEVersion.EEType JAVA_SE
-
JAVA_SE_COMPACT1
public static final EEVersion.EEType JAVA_SE_COMPACT1
-
JAVA_SE_COMPACT2
public static final EEVersion.EEType JAVA_SE_COMPACT2
-
JAVA_SE_COMPACT3
public static final EEVersion.EEType JAVA_SE_COMPACT3
-
-
Method Detail
-
values
public static EEVersion.EEType[] 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 (EEVersion.EEType c : EEVersion.EEType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EEVersion.EEType 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 namejava.lang.NullPointerException
- if the argument is null
-
fromName
public static EEVersion.EEType fromName(java.lang.String profileName)
-
-