Class IntFieldMapping
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
 - 
- com.atlassian.confluence.plugins.index.api.mapping.IntFieldMapping
 
 
 
- 
- All Implemented Interfaces:
 FieldMapping
public class IntFieldMapping extends AbstractFieldMapping
Field mapping for integer values.- Since:
 - 8.6
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntFieldMapping.Builder 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedIntFieldMapping(IntFieldMapping.Builder builder) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(FieldMappingVisitor<T> visitor)Applies the supplied visitor to this field mapping with its respective callback.static IntFieldMapping.Builderbuilder(String name)FieldDescriptorcreateField(int value)Create a field for the current mapping with the given value 
 - 
 
- 
- 
Constructor Detail
- 
IntFieldMapping
protected IntFieldMapping(IntFieldMapping.Builder builder)
 
 - 
 
- 
Method Detail
- 
createField
public FieldDescriptor createField(int value)
Create a field for the current mapping with the given value- Parameters:
 value-- Returns:
 - the newly created field
 
 
- 
accept
public <T> T accept(FieldMappingVisitor<T> visitor)
Description copied from interface:FieldMappingApplies 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
public static IntFieldMapping.Builder builder(String name)
 
 - 
 
 -