Enum Class YmlConfig.FlowStyle
- All Implemented Interfaces:
Serializable, Comparable<YmlConfig.FlowStyle>, Constable
- Enclosing class:
YmlConfig
Flow Style - YAML output flow style
流风格 - YAML 输出流风格
- Since:
- JDK 25, opencode-base-yml V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic YmlConfig.FlowStyleReturns the enum constant of this class with the specified name.static YmlConfig.FlowStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLOW
Flow style: {key: value} 流式风格:{key: value} -
BLOCK
Block style with line breaks 带换行的块风格 -
AUTO
Automatic selection 自动选择
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-