Package org.eclipse.tycho.core.ee.shared
Enum SystemCapability.Type
- java.lang.Object
-
- java.lang.Enum<SystemCapability.Type>
-
- org.eclipse.tycho.core.ee.shared.SystemCapability.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemCapability.Type>
- Enclosing class:
- SystemCapability
public static enum SystemCapability.Type extends Enum<SystemCapability.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_PACKAGE
OSGI_EE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemCapability.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemCapability.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA_PACKAGE
public static final SystemCapability.Type JAVA_PACKAGE
-
OSGI_EE
public static final SystemCapability.Type OSGI_EE
-
-
Method Detail
-
values
public static SystemCapability.Type[] 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 (SystemCapability.Type c : SystemCapability.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemCapability.Type 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 nameNullPointerException
- if the argument is null
-
-