Class MappingsWriterConfig


  • public class MappingsWriterConfig
    extends java.lang.Object
    Represents the configuration options for a mappings writer, allowing consumers to fine-tune the output without regard to format.
    Since:
    0.5.5
    • 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