Enum Linker.LinkType
- java.lang.Object
-
- java.lang.Enum<Linker.LinkType>
-
- com.facebook.buck.cxx.toolchain.linker.Linker.LinkType
-
- All Implemented Interfaces:
Serializable
,Comparable<Linker.LinkType>
- Enclosing interface:
- Linker
public static enum Linker.LinkType extends Enum<Linker.LinkType>
The various ways to link an output file.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTABLE
MACH_O_BUNDLE
SHARED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Linker.LinkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Linker.LinkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTABLE
public static final Linker.LinkType EXECUTABLE
-
SHARED
public static final Linker.LinkType SHARED
-
MACH_O_BUNDLE
public static final Linker.LinkType MACH_O_BUNDLE
-
-
Method Detail
-
values
public static Linker.LinkType[] 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 (Linker.LinkType c : Linker.LinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Linker.LinkType 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
-
-