Enum InjectSiteStylesMojo.PageType
java.lang.Object
java.lang.Enum<InjectSiteStylesMojo.PageType>
com.guinetik.terminaljavadocs.plugin.InjectSiteStylesMojo.PageType
- All Implemented Interfaces:
Serializable,Comparable<InjectSiteStylesMojo.PageType>,java.lang.constant.Constable
- Enclosing class:
- InjectSiteStylesMojo
Page types with their corresponding CSS files.
Each page type maps to a specific minified CSS file that provides Terminal Javadocs styling for that category of generated documentation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the CSS filename for this page type.getName()Returns the short name of this page type.Returns the enum constant of this type with the specified name.static InjectSiteStylesMojo.PageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LANDING
Landing pages (coverage.html, source-xref.html). -
COVERAGE
JaCoCo coverage report pages. -
JXR
JXR source cross-reference pages. -
JAVADOC
Javadoc API documentation pages. -
SITE
General Maven site pages.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getName
Returns the short name of this page type.- Returns:
- the name used in injection markers (e.g., "javadoc")
-
getCssFile
Returns the CSS filename for this page type.- Returns:
- the minified CSS filename (e.g., "terminaljavadocs-javadoc.min.css")
-