public static enum YamlProcessor.ResolutionMethod extends Enum<YamlProcessor.ResolutionMethod>
| 枚举常量和说明 |
|---|
FIRST_FOUND
Take the first resource in the list that exists and use just that.
|
OVERRIDE
Replace values from earlier in the list.
|
OVERRIDE_AND_IGNORE
Replace values from earlier in the list, ignoring any failures.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static YamlProcessor.ResolutionMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static YamlProcessor.ResolutionMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final YamlProcessor.ResolutionMethod OVERRIDE
public static final YamlProcessor.ResolutionMethod OVERRIDE_AND_IGNORE
public static final YamlProcessor.ResolutionMethod FIRST_FOUND
public static YamlProcessor.ResolutionMethod[] values()
for (YamlProcessor.ResolutionMethod c : YamlProcessor.ResolutionMethod.values()) System.out.println(c);
public static YamlProcessor.ResolutionMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值