public static enum YamlConverter.Mode extends Enum<YamlConverter.Mode>
| Enum Constant and Description |
|---|
DEFAULT
Default strict mode using normal yaml format without any compatibility tricks
|
FLATTEN
Flatten properties if parent has a scalar and sub-keys
|
| Modifier and Type | Method and Description |
|---|---|
static YamlConverter.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YamlConverter.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YamlConverter.Mode DEFAULT
public static final YamlConverter.Mode FLATTEN
public static YamlConverter.Mode[] values()
for (YamlConverter.Mode c : YamlConverter.Mode.values()) System.out.println(c);
public static YamlConverter.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.