Enum Class LibraryElements
- All Implemented Interfaces:
Serializable,Comparable<LibraryElements>,Constable,org.openrewrite.maven.attributes.Attribute
public enum LibraryElements
extends Enum<LibraryElements>
implements org.openrewrite.maven.attributes.Attribute
Attribute representing the technical elements of a library variant.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe JVM classes formatThe JVM class files and resourcesDynamic libraries for native modulesHeader files for C++The JVM archive formatLink archives for native modulesObjects for native modulesJVM resources -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable LibraryElementsstatic Stringkey()static LibraryElementsReturns the enum constant of this class with the specified name.static LibraryElements[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSES
The JVM classes format -
CLASSES_AND_RESOURCES
The JVM class files and resources -
DYNAMIC_LIB
Dynamic libraries for native modules -
HEADERS_CPLUSPLUS
Header files for C++ -
JAR
The JVM archive format -
LINK_ARCHIVE
Link archives for native modules -
OBJECTS
Objects for native modules -
RESOURCES
JVM resources
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
key
-
from
-