Class FieldRegistry.Default.Entry

    • Field Detail

      • fieldAttributeAppenderFactory

        private final FieldAttributeAppender.Factory fieldAttributeAppenderFactory
        The field attribute appender factory to apply on any matched field.
      • defaultValue

        private final java.lang.Object defaultValue
        The default value to write to the field or null if no default value is to be set for the field.
    • Constructor Detail

      • Entry

        protected Entry​(LatentMatcher<? super FieldDescription> matcher,
                        FieldAttributeAppender.Factory fieldAttributeAppenderFactory,
                        java.lang.Object defaultValue,
                        Transformer<FieldDescription> transformer)
        Creates a new entry.
        Parameters:
        matcher - The matcher to identify any field that this definition concerns.
        fieldAttributeAppenderFactory - The field attribute appender factory to apply on any matched field.
        defaultValue - The default value to write to the field or null if no default value is to be set for the field.
        transformer - The field transformer to apply to any matched field.
    • Method Detail

      • getFieldAttributeAppenderFactory

        protected FieldAttributeAppender.Factory getFieldAttributeAppenderFactory()
        Returns the field attribute appender factory to apply on any matched field.
        Returns:
        The field attribute appender factory to apply on any matched field.
      • getDefaultValue

        protected java.lang.Object getDefaultValue()
        Returns the default value to write to the field or null if no default value is to be set for the field.
        Returns:
        The default value to write to the field or null if no default value is to be set for the field.
      • getTransformer

        protected Transformer<FieldDescription> getTransformer()
        Returns the field transformer to apply to any matched field.
        Returns:
        The field transformer to apply to any matched field.