Package org.cadixdev.lorenz.io
Class MappingsWriterConfig
- java.lang.Object
-
- org.cadixdev.lorenz.io.MappingsWriterConfig
-
public class MappingsWriterConfig extends java.lang.ObjectRepresents the configuration options for amappings writer, allowing consumers to fine-tune the output without regard to format.- Since:
- 0.5.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMappingsWriterConfig.BuilderBuilder for fluently constructing a writer configuration.static classMappingsWriterConfig.UtilsUtility functions for assisting in the creation of a mappings writer configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MappingsWriterConfig.Builderbuilder()Creates a new builder for fluently constructing a writer configuration.java.util.Comparator<ClassMapping<?,?>>getClassMappingComparator()Gets the class mapping comparator for arranging class mappings when writing mappings.java.util.Comparator<FieldMapping>getFieldMappingComparator()Gets the field mapping comparator for arranging field mappings when writing mappings.java.util.Comparator<MethodMapping>getMethodMappingComparator()Gets the method mapping comparator for arranging method mappings when writing mappings.
-
-
-
Method Detail
-
builder
public static MappingsWriterConfig.Builder builder()
Creates a new builder for fluently constructing a writer configuration.- Returns:
- A builder
-
getClassMappingComparator
public java.util.Comparator<ClassMapping<?,?>> getClassMappingComparator()
Gets the class mapping comparator for arranging class mappings when writing mappings.- Returns:
- The class mappings comparator
-
getFieldMappingComparator
public java.util.Comparator<FieldMapping> getFieldMappingComparator()
Gets the field mapping comparator for arranging field mappings when writing mappings.- Returns:
- The field mappings comparator
-
getMethodMappingComparator
public java.util.Comparator<MethodMapping> getMethodMappingComparator()
Gets the method mapping comparator for arranging method mappings when writing mappings.- Returns:
- The method mappings comparator
-
-