public static class CategoryContextMapping.Builder extends ContextBuilder<CategoryContextMapping>
name
Constructor and Description |
---|
CategoryContextMapping.Builder(String name) |
CategoryContextMapping.Builder(String name,
String fieldname) |
Modifier and Type | Method and Description |
---|---|
CategoryContextMapping.Builder |
addDefaultValue(CharSequence defaultValue)
Add value to the default values of the mapping
|
CategoryContextMapping.Builder |
addDefaultValues(CharSequence... defaultValues)
Add set of default values to the mapping
|
CategoryContextMapping.Builder |
addDefaultValues(Iterable<? extends CharSequence> defaultValues)
Add set of default values to the mapping
|
CategoryContextMapping |
build() |
CategoryContextMapping.Builder |
fieldName(String fieldname)
Set the name of the field to use
|
category, category, loadMapping, loadMappings, location, location, reference, reference
public CategoryContextMapping.Builder(String name)
public CategoryContextMapping.Builder fieldName(String fieldname)
public CategoryContextMapping.Builder addDefaultValue(CharSequence defaultValue)
public CategoryContextMapping.Builder addDefaultValues(CharSequence... defaultValues)
public CategoryContextMapping.Builder addDefaultValues(Iterable<? extends CharSequence> defaultValues)
public CategoryContextMapping build()
build
in class ContextBuilder<CategoryContextMapping>
Copyright © 2009–2016. All rights reserved.