Enum Class DocumentationType

java.lang.Object
java.lang.Enum<DocumentationType>
org.ysb33r.ysf.projects.core.documentation.DocumentationType
All Implemented Interfaces:
Serializable, Comparable<DocumentationType>, Constable

public enum DocumentationType extends Enum<DocumentationType>
Documentation type
  • Enum Constant Details

    • BUILT_API_DOCS_HTML

      public static final DocumentationType BUILT_API_DOCS_HTML
      Content is HTML that has been created by another task.
    • RAW_GROOVY_SOURCE

      public static final DocumentationType RAW_GROOVY_SOURCE
      Raw Groovy (and Java) source code.
    • ASCIIDOC

      public static final DocumentationType ASCIIDOC
      Asciidoc files.
  • Method Details

    • values

      public static DocumentationType[] 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

      public static DocumentationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getAntoraType

      public final String getAntoraType()
      Type of Antora documentation.
      Returns:
      Antora family directory string
    • getAntoraLinkType

      public final String getAntoraLinkType()
      Antora link type.
      Returns:
      xref or link.