Class BooleanFieldMapping.Builder
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping.Builder
-
- com.atlassian.confluence.plugins.index.api.mapping.BooleanFieldMapping.Builder
-
- Enclosing class:
- BooleanFieldMapping
public static class BooleanFieldMapping.Builder extends AbstractFieldMapping.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanFieldMappingbuild()BooleanFieldMapping.Builderindex(boolean indexed)BooleanFieldMapping.Builderstore(boolean stored)
-
-
-
Constructor Detail
-
Builder
public Builder(String name)
-
-
Method Detail
-
store
public BooleanFieldMapping.Builder store(boolean stored)
- Overrides:
storein classAbstractFieldMapping.Builder- Parameters:
stored- If true, the field will store the original value so that it can be retrieved. Default = false, i.e. the field can only be searched.- Returns:
- this builder
-
index
public BooleanFieldMapping.Builder index(boolean indexed)
- Overrides:
indexin classAbstractFieldMapping.Builder- Parameters:
indexed- If true (default), the field will be indexed so that it can be searched- Returns:
- this builder
-
build
public BooleanFieldMapping build()
- Specified by:
buildin classAbstractFieldMapping.Builder- Returns:
- a newly created mapping
-
-