Enum JavadocLinkGenerator.JavadocToolVersionRange
- java.lang.Object
-
- java.lang.Enum<JavadocLinkGenerator.JavadocToolVersionRange>
-
- org.apache.maven.tools.plugin.javadoc.JavadocLinkGenerator.JavadocToolVersionRange
-
- All Implemented Interfaces:
Serializable
,Comparable<JavadocLinkGenerator.JavadocToolVersionRange>
- Enclosing class:
- JavadocLinkGenerator
public static enum JavadocLinkGenerator.JavadocToolVersionRange extends Enum<JavadocLinkGenerator.JavadocToolVersionRange>
Javadoc tool version ranges whose generated sites expose different link formats.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JDK10_OR_HIGHER
JDK7_OR_LOWER
JDK8_OR_9
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavadocLinkGenerator.JavadocToolVersionRange
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavadocLinkGenerator.JavadocToolVersionRange[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JDK7_OR_LOWER
public static final JavadocLinkGenerator.JavadocToolVersionRange JDK7_OR_LOWER
-
JDK8_OR_9
public static final JavadocLinkGenerator.JavadocToolVersionRange JDK8_OR_9
-
JDK10_OR_HIGHER
public static final JavadocLinkGenerator.JavadocToolVersionRange JDK10_OR_HIGHER
-
-
Method Detail
-
values
public static JavadocLinkGenerator.JavadocToolVersionRange[] 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 (JavadocLinkGenerator.JavadocToolVersionRange c : JavadocLinkGenerator.JavadocToolVersionRange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavadocLinkGenerator.JavadocToolVersionRange 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
-
-