Class BooleanFieldMapping
java.lang.Object
com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
com.atlassian.confluence.plugins.index.api.mapping.BooleanFieldMapping
- All Implemented Interfaces:
FieldMapping
Field mapping for true and false values
- Since:
- 8.6
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(FieldMappingVisitor<T> visitor) Applies the supplied visitor to this field mapping with its respective callback.static BooleanFieldMapping.Builder
createField
(boolean value) Create a field for the current mapping with the given value
-
Constructor Details
-
BooleanFieldMapping
-
-
Method Details
-
createField
Create a field for the current mapping with the given value- Parameters:
value
-- Returns:
- the newly created field
-
accept
Description copied from interface:FieldMapping
Applies the supplied visitor to this field mapping with its respective callback.- Parameters:
visitor
- The visitor to dispatch- Returns:
- The value that is returned by the supplied visitor
-
builder
-