public interface SingleIndexRequestMessageBuilder
extends com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
SingleIndexRequest
for a particular Indexable
entity. SingleIndexRequestMessageFactory
injects all
SingleIndexRequestMessageBuilders
and will use the first
for which canBuild(Indexable)
is true.Modifier and Type | Method and Description |
---|---|
SingleIndexRequest<Identifiable> |
build(Indexable entity)
Build a
SingleIndexRequest for the given entity. |
boolean |
canBuild(Indexable entity)
Reports whether this builder can build a
SingleIndexRequest for the given entity. |
boolean canBuild(Indexable entity)
SingleIndexRequest
for the given entity.entity
- the entity to check this builder's support forSingleIndexRequest
for the entity, false
otherwiseSingleIndexRequest<Identifiable> build(Indexable entity)
SingleIndexRequest
for the given entity.entity
- the entity to create a SingleIndexRequest
for.SingleIndexRequest
for the given entityCopyright © 2021. All rights reserved.