Package com.facebook.buck.cxx.toolchain
Enum ToolType
- java.lang.Object
-
- java.lang.Enum<ToolType>
-
- com.facebook.buck.cxx.toolchain.ToolType
-
- All Implemented Interfaces:
Serializable
,Comparable<ToolType>
public enum ToolType extends Enum<ToolType>
Enumerates possible external tools used in building C/C++ programs.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToolType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ToolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AR
public static final ToolType AR
-
AS
public static final ToolType AS
-
ASM
public static final ToolType ASM
-
ASMPP
public static final ToolType ASMPP
-
ASPP
public static final ToolType ASPP
-
CC
public static final ToolType CC
-
CPP
public static final ToolType CPP
-
CUDA
public static final ToolType CUDA
-
CUDAPP
public static final ToolType CUDAPP
-
CXX
public static final ToolType CXX
-
CXXPP
public static final ToolType CXXPP
-
HIP
public static final ToolType HIP
-
HIPPP
public static final ToolType HIPPP
-
LD
public static final ToolType LD
-
RANLIB
public static final ToolType RANLIB
-
-
Method Detail
-
values
public static ToolType[] 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 (ToolType c : ToolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ToolType 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
-
-