com.atlassian.confluence.content.render.xhtml.view.excerpt
Class ExcerptConfig.Builder
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.excerpt.ExcerptConfig.Builder
- Enclosing class:
- ExcerptConfig
public static class ExcerptConfig.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
build
public ExcerptConfig build()
maxBlocks
public ExcerptConfig.Builder maxBlocks(int maxBlocks)
minBlocks
public ExcerptConfig.Builder minBlocks(int minBlocks)
minCharCount
public ExcerptConfig.Builder minCharCount(int minCharCount)
maxCharCount
public ExcerptConfig.Builder maxCharCount(int maxCharCount)
excludedLastHtmlElement
public ExcerptConfig.Builder excludedLastHtmlElement(Iterable<String> excludedLastHtmlElement)
excludeHtmlElements
public ExcerptConfig.Builder excludeHtmlElements(Iterable<String> exclude)
macroDefinitionUpdater
public ExcerptConfig.Builder macroDefinitionUpdater(MacroDefinitionUpdater macroDefinitionUpdater)