public static class CategoryContextMapping.Builder extends ContextBuilder<CategoryContextMapping>
CategoryContextMappingname| Constructor | Description |
|---|---|
Builder(java.lang.String name) |
Create a builder for
a named
CategoryContextMapping |
| Modifier and Type | Method | Description |
|---|---|---|
CategoryContextMapping |
build() |
|
CategoryContextMapping.Builder |
field(java.lang.String fieldName) |
Set the name of the field to use
|
category, geopublic Builder(java.lang.String name)
CategoryContextMappingname - name of the mappingpublic CategoryContextMapping.Builder field(java.lang.String fieldName)
public CategoryContextMapping build()
build in class ContextBuilder<CategoryContextMapping>