public interface SearchSortDslContext<B>
Modifier and Type | Method and Description |
---|---|
default void |
addChild(B builder)
Add a sort builder at the current position in the sort tree.
|
void |
addChild(SearchSortContributor<? extends B> contributor)
Add a sort contributor at the current position in the sort tree.
|
SearchSort |
toSort()
Create a
SearchSort instance
matching the definition given in the previous DSL steps. |
void addChild(SearchSortContributor<? extends B> contributor)
The contributor will be called as late as possible to retrieve its contributed builders.
contributor
- The contributor to add.default void addChild(B builder)
builder
- The builder to add.SearchSort toSort()
SearchSort
instance
matching the definition given in the previous DSL steps.SearchSort
instance.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.