public class YamlSideCommentFormatterConfiguration extends YamlCommentFormatterConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SIDE_COMMENT_PREFIX |
COMMENT_INDICATOR, DEFAULT_COMMENT_PREFIX
Constructor and Description |
---|
YamlSideCommentFormatterConfiguration() |
YamlSideCommentFormatterConfiguration(String sidePrefix) |
YamlSideCommentFormatterConfiguration(String sidePrefix,
String prefixMultiline) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCommentPrefix(String sidePrefix) |
protected void |
checkCommentPrefixMultiline(String commentPrefix) |
YamlSideCommentFormatterConfiguration |
prefix(String sidePrefix) |
YamlSideCommentFormatterConfiguration |
prefix(String prefixFirst,
String prefixMultiline) |
YamlSideCommentFormatterConfiguration |
stripPrefix(boolean stripPrefix) |
YamlSideCommentFormatterConfiguration |
suffix(String suffixLast) |
YamlSideCommentFormatterConfiguration |
suffix(String suffixLast,
String suffixMultiline) |
YamlSideCommentFormatterConfiguration |
trim(boolean trim) |
checkCommentSuffix, checkCommentSuffixMultiline, equals, hashCode, stripPrefix, toString, trim
public static final String DEFAULT_SIDE_COMMENT_PREFIX
public YamlSideCommentFormatterConfiguration()
public YamlSideCommentFormatterConfiguration(String sidePrefix)
public YamlSideCommentFormatterConfiguration prefix(String sidePrefix)
prefix
in class YamlCommentFormatterConfiguration
public YamlSideCommentFormatterConfiguration prefix(String prefixFirst, String prefixMultiline)
prefix
in class YamlCommentFormatterConfiguration
public YamlSideCommentFormatterConfiguration suffix(String suffixLast)
suffix
in class YamlCommentFormatterConfiguration
public YamlSideCommentFormatterConfiguration suffix(String suffixLast, String suffixMultiline)
suffix
in class YamlCommentFormatterConfiguration
public YamlSideCommentFormatterConfiguration trim(boolean trim)
trim
in class YamlCommentFormatterConfiguration
public YamlSideCommentFormatterConfiguration stripPrefix(boolean stripPrefix)
stripPrefix
in class YamlCommentFormatterConfiguration
protected void checkCommentPrefix(String sidePrefix)
checkCommentPrefix
in class YamlCommentFormatterConfiguration
protected void checkCommentPrefixMultiline(String commentPrefix)
checkCommentPrefixMultiline
in class YamlCommentFormatterConfiguration
Copyright © 2023. All rights reserved.