CategoryContextMapping.Builder
, GeoContextMapping.Builder
public abstract class ContextBuilder<E extends ContextMapping>
extends java.lang.Object
ContextMapping
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
name |
Modifier | Constructor | Description |
---|---|---|
protected |
ContextBuilder(java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
abstract E |
build() |
|
static CategoryContextMapping.Builder |
category(java.lang.String name) |
Create a new
CategoryContextMapping |
static GeoContextMapping.Builder |
geo(java.lang.String name) |
Create a new
GeoContextMapping |
protected ContextBuilder(java.lang.String name)
name
- of the context mapper to buildpublic abstract E build()
public static GeoContextMapping.Builder geo(java.lang.String name)
GeoContextMapping
public static CategoryContextMapping.Builder category(java.lang.String name)
CategoryContextMapping