public static class ExcerptConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ExcerptConfig |
build() |
ExcerptConfig.Builder |
excludedLastHtmlElement(Iterable<String> excludedLastHtmlElement) |
ExcerptConfig.Builder |
excludeHtmlElements(Iterable<String> exclude) |
ExcerptConfig.Builder |
macroDefinitionUpdater(MacroDefinitionUpdater macroDefinitionUpdater) |
ExcerptConfig.Builder |
maxBlocks(int maxBlocks) |
ExcerptConfig.Builder |
maxCharCount(int maxCharCount) |
ExcerptConfig.Builder |
minBlocks(int minBlocks) |
ExcerptConfig.Builder |
minCharCount(int minCharCount) |
public ExcerptConfig build()
public ExcerptConfig.Builder maxBlocks(int maxBlocks)
public ExcerptConfig.Builder minBlocks(int minBlocks)
public ExcerptConfig.Builder minCharCount(int minCharCount)
public ExcerptConfig.Builder maxCharCount(int maxCharCount)
public ExcerptConfig.Builder excludedLastHtmlElement(Iterable<String> excludedLastHtmlElement)
public ExcerptConfig.Builder excludeHtmlElements(Iterable<String> exclude)
public ExcerptConfig.Builder macroDefinitionUpdater(MacroDefinitionUpdater macroDefinitionUpdater)
Copyright © 2003–2015 Atlassian. All rights reserved.