Enum Class DocTypeEnum

java.lang.Object
java.lang.Enum<DocTypeEnum>
io.github.guoshiqiufeng.dify.dataset.enums.document.DocTypeEnum
All Implemented Interfaces:
Serializable, Comparable<DocTypeEnum>, Constable

public enum DocTypeEnum extends Enum<DocTypeEnum>
Since:
2025/3/13 14:19
Version:
1.0
Author:
yanghq
  • Enum Constant Details

    • book

      public static final DocTypeEnum book
      图书 Book
    • web_page

      public static final DocTypeEnum web_page
      网页
    • paper

      public static final DocTypeEnum paper
      学术论文/文章
    • social_media_post

      public static final DocTypeEnum social_media_post
      社交媒体帖子
    • wikipedia_entry

      public static final DocTypeEnum wikipedia_entry
      维基百科条目
    • personal_document

      public static final DocTypeEnum personal_document
      个人文档
    • business_document

      public static final DocTypeEnum business_document
      商业文档
    • im_chat_log

      public static final DocTypeEnum im_chat_log
      即时通讯记录
    • synced_from_notion

      public static final DocTypeEnum synced_from_notion
      Notion同步文档
    • synced_from_github

      public static final DocTypeEnum synced_from_github
      GitHub同步文档
    • others

      public static final DocTypeEnum others
      其他文档类型
  • Method Details

    • values

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