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 Details

    • builder

      public static LoadSettingsBuilder builder()
      Create the builder
      Returns:
      the builder to fill the configuration options
    • getLabel

      public String getLabel()
    • getTagConstructors

      public Map<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()
    • getEnvConfig

      public Optional<EnvConfig> getEnvConfig()
    • getParseComments

      public boolean getParseComments()
    • getCodePointLimit

      public int getCodePointLimit()
    • getSchema

      public Schema getSchema()