Class ForumTopicRenderer.Builder<TOPIC extends ForumTopicData, CTX>
java.lang.Object
io.mindspice.simplypages.components.forum.topics.ForumTopicRenderer.Builder<TOPIC,CTX>
- Enclosing class:
ForumTopicRenderer<TOPIC extends ForumTopicData, CTX>
public static final class ForumTopicRenderer.Builder<TOPIC extends ForumTopicData, CTX>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withActionProvider(ForumActionProvider<TOPIC, CTX> actionProvider) withBodyTextResolver(BiFunction<TOPIC, CTX, String> bodyTextResolver) withPaginationEndpointResolver(ForumTopicRenderer.TopicPaginationEndpointResolver paginationEndpointResolver) withPaginationHxSwap(String paginationHxSwap) withPaginationHxTarget(String paginationHxTarget) withResolverRegistry(ForumTagResolverRegistry resolverRegistry) withTagParser(ForumTagParser tagParser) withTitleLinkResolver(BiFunction<TOPIC, CTX, ForumTopicTitleLink> titleLinkResolver) withTopicComponentSupplier(Supplier<? extends ForumTopicComponent> componentSupplier) withTopicScopeExtractor(Function<TOPIC, String> topicScopeExtractor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withTopicComponentSupplier
public ForumTopicRenderer.Builder<TOPIC,CTX> withTopicComponentSupplier(Supplier<? extends ForumTopicComponent> componentSupplier) -
withActionProvider
public ForumTopicRenderer.Builder<TOPIC,CTX> withActionProvider(ForumActionProvider<TOPIC, CTX> actionProvider) -
withTagParser
-
withResolverRegistry
public ForumTopicRenderer.Builder<TOPIC,CTX> withResolverRegistry(ForumTagResolverRegistry resolverRegistry) -
withPaginationEndpointResolver
public ForumTopicRenderer.Builder<TOPIC,CTX> withPaginationEndpointResolver(ForumTopicRenderer.TopicPaginationEndpointResolver paginationEndpointResolver) -
withPaginationHxTarget
-
withPaginationHxSwap
-
withTopicScopeExtractor
-
withBodyTextResolver
public ForumTopicRenderer.Builder<TOPIC,CTX> withBodyTextResolver(BiFunction<TOPIC, CTX, String> bodyTextResolver) -
withTitleLinkResolver
public ForumTopicRenderer.Builder<TOPIC,CTX> withTitleLinkResolver(BiFunction<TOPIC, CTX, ForumTopicTitleLink> titleLinkResolver) -
build
-