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

public enum ModeEnum extends Enum<ModeEnum>
清洗、分段模式
Since:
2025/3/13 15:21
Version:
1.0
Author:
yanghq
  • Enum Constant Details

    • automatic

      public static final ModeEnum automatic
      自动
    • custom

      public static final ModeEnum custom
      自定义
    • hierarchical

      public static final ModeEnum hierarchical
      parent-child 模式
  • Method Details

    • values

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