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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExcerptConfig
build()
ExcerptConfig.Builder
excludedLastHtmlElement(Iterable<String> excludedLastHtmlElement)
ExcerptConfig.Builder
excludeHtmlElements(Iterable<String> exclude)
ExcerptConfig.Builder
ignoreUserDefinedExcerpt(boolean ignoreUserDefinedExcerpt)
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)
-
-
-
Method Detail
-
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)
-
ignoreUserDefinedExcerpt
public ExcerptConfig.Builder ignoreUserDefinedExcerpt(boolean ignoreUserDefinedExcerpt)
-
-