public static class HighlightRowsCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HighlightRowsCommandDescriptor |
build() |
HighlightRowsCommandDescriptor.Builder |
category(String category) |
HighlightRowsCommandDescriptor.Builder |
color(String color)
User specified color to highlight matches with if found.
|
HighlightRowsCommandDescriptor.Builder |
copy(HighlightRowsCommandDescriptor model) |
HighlightRowsCommandDescriptor.Builder |
declaredFields(List<AbstractField> declaredFields) |
HighlightRowsCommandDescriptor.Builder |
displayQueryString(String displayQueryString) |
HighlightRowsCommandDescriptor.Builder |
internalQueryString(String internalQueryString) |
HighlightRowsCommandDescriptor.Builder |
isHidden(Boolean isHidden) |
HighlightRowsCommandDescriptor.Builder |
keywords(List<String> keywords)
List of terms or phrases to find to mark the result row as highlighted.
|
HighlightRowsCommandDescriptor.Builder |
referencedFields(List<AbstractField> referencedFields) |
public HighlightRowsCommandDescriptor.Builder displayQueryString(String displayQueryString)
public HighlightRowsCommandDescriptor.Builder internalQueryString(String internalQueryString)
public HighlightRowsCommandDescriptor.Builder category(String category)
public HighlightRowsCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public HighlightRowsCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public HighlightRowsCommandDescriptor.Builder isHidden(Boolean isHidden)
public HighlightRowsCommandDescriptor.Builder color(String color)
User specified color to highlight matches with if found.
color
- the value to setpublic HighlightRowsCommandDescriptor.Builder keywords(List<String> keywords)
List of terms or phrases to find to mark the result row as highlighted.
keywords
- the value to setpublic HighlightRowsCommandDescriptor build()
public HighlightRowsCommandDescriptor.Builder copy(HighlightRowsCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.