Package org.snakeyaml.engine.v2.api
Class LoadSettings
- java.lang.Object
-
- org.snakeyaml.engine.v2.api.LoadSettings
-
public final class LoadSettings extends Object
Immutable configuration for loading. Description for all the fields can be found in the builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadSettingsBuilderbuilder()Create the builderbooleangetAllowDuplicateKeys()booleangetAllowRecursiveKeys()IntegergetBufferSize()intgetCodePointLimit()ObjectgetCustomProperty(SettingKey key)IntFunction<List<Object>>getDefaultList()IntFunction<Map<Object,Object>>getDefaultMap()IntFunction<Set<Object>>getDefaultSet()Optional<EnvConfig>getEnvConfig()StringgetLabel()intgetMaxAliasesForCollections()booleangetParseComments()SchemagetSchema()Map<org.snakeyaml.engine.v2.nodes.Tag,ConstructNode>getTagConstructors()booleangetUseMarks()Function<SpecVersion,SpecVersion>getVersionFunction()
-
-
-
Method Detail
-
builder
public static LoadSettingsBuilder builder()
Create the builder- Returns:
- the builder to fill the configuration options
-
getLabel
public String getLabel()
-
getTagConstructors
public Map<org.snakeyaml.engine.v2.nodes.Tag,ConstructNode> getTagConstructors()
-
getDefaultList
public IntFunction<List<Object>> getDefaultList()
-
getDefaultSet
public IntFunction<Set<Object>> getDefaultSet()
-
getDefaultMap
public IntFunction<Map<Object,Object>> getDefaultMap()
-
getBufferSize
public Integer getBufferSize()
-
getAllowDuplicateKeys
public boolean getAllowDuplicateKeys()
-
getAllowRecursiveKeys
public boolean getAllowRecursiveKeys()
-
getUseMarks
public boolean getUseMarks()
-
getVersionFunction
public Function<SpecVersion,SpecVersion> getVersionFunction()
-
getCustomProperty
public Object getCustomProperty(SettingKey key)
-
getMaxAliasesForCollections
public int getMaxAliasesForCollections()
-
getParseComments
public boolean getParseComments()
-
getCodePointLimit
public int getCodePointLimit()
-
getSchema
public Schema getSchema()
-
-