Enum Class DocsType

java.lang.Object
java.lang.Enum<DocsType>
org.openrewrite.gradle.attributes.DocsType
All Implemented Interfaces:
Serializable, Comparable<DocsType>, Constable, org.openrewrite.maven.attributes.Attribute

public enum DocsType extends Enum<DocsType> implements org.openrewrite.maven.attributes.Attribute
See Gradle javadocs for org.gradle.api.attributes.DocsType
  • Enum Constant Details

    • JAVADOC

      public static final DocsType JAVADOC
      The typical documentation for Java APIs
    • SOURCES

      public static final DocsType SOURCES
      The source files of the module
    • USER_MANUAL

      public static final DocsType USER_MANUAL
      A user manual
    • SAMPLES

      public static final DocsType SAMPLES
      Samples illustrating how to use the software module
    • DOXYGEN

      public static final DocsType DOXYGEN
      The typical documentation for native APIs
  • Method Details

    • values

      public static DocsType[] 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 DocsType 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
    • key

      public static String key()
    • from

      public static @Nullable DocsType from(@Nullable String docsType)