Enum Class SpringAutoRestDocsDocumentationSource

java.lang.Object
java.lang.Enum<SpringAutoRestDocsDocumentationSource>
org.springframework.modulith.docs.SpringAutoRestDocsDocumentationSource
All Implemented Interfaces:
Serializable, Comparable<SpringAutoRestDocsDocumentationSource>, Constable, DocumentationSource

@Deprecated enum SpringAutoRestDocsDocumentationSource extends Enum<SpringAutoRestDocsDocumentationSource> implements DocumentationSource
Deprecated.
since 1.3, use SpringModulithDocumentationSource instead.
A DocumentationSource that uses metadata generated by Spring Auto REST Docs' Javadoc Doclet.
Author:
Oliver Drotbohm
  • Enum Constant Details

  • Method Details

    • values

      public static SpringAutoRestDocsDocumentationSource[] values()
      Deprecated.
      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 SpringAutoRestDocsDocumentationSource valueOf(String name)
      Deprecated.
      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
    • getDocumentation

      public Optional<String> getDocumentation(com.tngtech.archunit.core.domain.JavaMethod method)
      Deprecated.
      Description copied from interface: DocumentationSource
      Returns the documentation to be used for the given JavaMethod.
      Specified by:
      getDocumentation in interface DocumentationSource
      Parameters:
      method - must not be null.
      Returns:
      will never be null.
    • getDocumentation

      public Optional<String> getDocumentation(com.tngtech.archunit.core.domain.JavaClass type)
      Deprecated.
      Description copied from interface: DocumentationSource
      Returns the documentation to be used for the given JavaClass.
      Specified by:
      getDocumentation in interface DocumentationSource
      Parameters:
      type - must not be null.
      Returns:
      will never be null.