Enum Linker.SharedLibraryLoadingType
- java.lang.Object
-
- java.lang.Enum<Linker.SharedLibraryLoadingType>
-
- com.facebook.buck.cxx.toolchain.linker.Linker.SharedLibraryLoadingType
-
- All Implemented Interfaces:
Serializable
,Comparable<Linker.SharedLibraryLoadingType>
- Enclosing interface:
- Linker
public static enum Linker.SharedLibraryLoadingType extends Enum<Linker.SharedLibraryLoadingType>
The various ways to load shared libraries on different platforms
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RPATH
THE_SAME_DIRECTORY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Linker.SharedLibraryLoadingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Linker.SharedLibraryLoadingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RPATH
public static final Linker.SharedLibraryLoadingType RPATH
-
THE_SAME_DIRECTORY
public static final Linker.SharedLibraryLoadingType THE_SAME_DIRECTORY
-
-
Method Detail
-
values
public static Linker.SharedLibraryLoadingType[] 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.SharedLibraryLoadingType c : Linker.SharedLibraryLoadingType.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.SharedLibraryLoadingType 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
-
-