Enum CxxPythonExtensionDescription.Type
- java.lang.Object
-
- java.lang.Enum<CxxPythonExtensionDescription.Type>
-
- com.facebook.buck.features.python.CxxPythonExtensionDescription.Type
-
- All Implemented Interfaces:
FlavorConvertible
,Serializable
,Comparable<CxxPythonExtensionDescription.Type>
- Enclosing class:
- CxxPythonExtensionDescription
public static enum CxxPythonExtensionDescription.Type extends Enum<CxxPythonExtensionDescription.Type> implements FlavorConvertible
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPILATION_DATABASE
EXTENSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Flavor
getFlavor()
static CxxPythonExtensionDescription.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static CxxPythonExtensionDescription.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTENSION
public static final CxxPythonExtensionDescription.Type EXTENSION
-
COMPILATION_DATABASE
public static final CxxPythonExtensionDescription.Type COMPILATION_DATABASE
-
-
Method Detail
-
values
public static CxxPythonExtensionDescription.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 (CxxPythonExtensionDescription.Type c : CxxPythonExtensionDescription.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 CxxPythonExtensionDescription.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
-
getFlavor
public Flavor getFlavor()
- Specified by:
getFlavor
in interfaceFlavorConvertible
-
-