Enum Class YmlConfig.FlowStyle

java.lang.Object
java.lang.Enum<YmlConfig.FlowStyle>
cloud.opencode.base.yml.YmlConfig.FlowStyle
All Implemented Interfaces:
Serializable, Comparable<YmlConfig.FlowStyle>, Constable
Enclosing class:
YmlConfig

public static enum YmlConfig.FlowStyle extends Enum<YmlConfig.FlowStyle>
Flow Style - YAML output flow style 流风格 - YAML 输出流风格
Since:
JDK 25, opencode-base-yml V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Enum Constant Details

    • FLOW

      public static final YmlConfig.FlowStyle FLOW
      Flow style: {key: value} 流式风格:{key: value}
    • BLOCK

      public static final YmlConfig.FlowStyle BLOCK
      Block style with line breaks 带换行的块风格
    • AUTO

      public static final YmlConfig.FlowStyle AUTO
      Automatic selection 自动选择
  • Method Details

    • values

      public static YmlConfig.FlowStyle[] 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 YmlConfig.FlowStyle 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