public abstract class ContextBuilder<E extends ContextMapping>
extends java.lang.Object
ContextMapping| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
ContextBuilder(java.lang.String name) |
| Modifier and Type | Method and 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)
GeoContextMappingpublic static CategoryContextMapping.Builder category(java.lang.String name)
CategoryContextMapping