Package | Description |
---|---|
com.hazelcast.org.snakeyaml.engine.v1.api |
Modifier and Type | Method and Description |
---|---|
DumpSettingsBuilder |
DumpSettingsBuilder.setAnchorGenerator(AnchorGenerator anchorGenerator)
Define anchor name generator (by default 'id' + number)
|
DumpSettingsBuilder |
DumpSettingsBuilder.setBestLineBreak(String bestLineBreak)
If the YAML is created for another platform (for instance on Windows to be consumed under Linux) than
this setting is used to define the line ending.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setCanonical(boolean canonical)
Enforce canonical representation
|
DumpSettingsBuilder |
DumpSettingsBuilder.setDefaultFlowStyle(FlowStyle defaultFlowStyle)
Define flow style
|
DumpSettingsBuilder |
DumpSettingsBuilder.setDefaultScalarStyle(ScalarStyle defaultScalarStyle)
Define default scalar style
|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitEnd(boolean explicitEnd)
Add '...' in the end of the document
|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitRootTag(Optional<Tag> explicitRootTag)
Define root
Tag or let the tag to be detected automatically |
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitStart(boolean explicitStart)
Add '---' in the beginning of the document
|
DumpSettingsBuilder |
DumpSettingsBuilder.setIndent(int indent)
Define the amount of the spaces for the indent in the block flow style.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setIndicatorIndent(int indicatorIndent)
Default is 0.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setMultiLineFlow(boolean multiLineFlow)
Use pretty flow style when every value in the flow context gets a separate line.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setScalarResolver(ScalarResolver scalarResolver)
Define
ScalarResolver or use JSON resolver by default |
DumpSettingsBuilder |
DumpSettingsBuilder.setSplitLines(boolean splitLines)
Define whether to split long lines
|
DumpSettingsBuilder |
DumpSettingsBuilder.setTagDirective(Map<String,String> tagDirective)
Add TAG directive (http://yaml.org/spec/1.2/spec.html#id2782090)
|
DumpSettingsBuilder |
DumpSettingsBuilder.setUseUnicodeEncoding(boolean useUnicodeEncoding)
Define whether Unicode char or escape sequence starting with '\\u'
|
DumpSettingsBuilder |
DumpSettingsBuilder.setWidth(int width)
Set max width for literal scalars.
|
DumpSettingsBuilder |
DumpSettingsBuilder.setYamlDirective(Optional<SpecVersion> yamlDirective)
Add YAML directive (http://yaml.org/spec/1.2/spec.html#id2781553)
|
Copyright © 2019 Hazelcast, Inc.. All rights reserved.