Enum Class Category
- All Implemented Interfaces:
Serializable,Comparable<Category>,Constable,org.openrewrite.maven.attributes.Attribute
See category javadoc
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe documentation categoryThe enforced platform, usually a synthetic variant derived from the platformThe library categoryTypically marks a dependency as platform.The verification category, for variants which contain the results of running verification tasks (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable CategorybooleanisBom()A regular platform or enforced platform dependency is being used as a bill-of-materials to provide version numbers, not actually as a dependency on its own.static Stringkey()static CategoryReturns the enum constant of this class with the specified name.static Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOCUMENTATION
The documentation category -
ENFORCED_PLATFORM
The enforced platform, usually a synthetic variant derived from the platform -
LIBRARY
The library category -
REGULAR_PLATFORM
Typically marks a dependency as platform. "platform" has very similar semantics to a Maven bill of materials (BOM) added to the "import" scope via dependencyManagement. -
VERIFICATION
The verification category, for variants which contain the results of running verification tasks (e.g. Test, Jacoco).
-
-
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
-
isBom
public boolean isBom()A regular platform or enforced platform dependency is being used as a bill-of-materials to provide version numbers, not actually as a dependency on its own. -
key
-
from
-