Class ParametersLogBuilder.Container

  • Enclosing class:
    ParametersLogBuilder

    protected static class ParametersLogBuilder.Container
    extends Object
    Container which stores parameter value and associated converter and sanitizer.
    Since:
    1.3.0
    • Constructor Detail

      • Container

        protected Container​(Object value,
                            ValueToStringConverter converter,
                            ValueSanitizer sanitizer)
        Constructs a new instance.
        Parameters:
        value - the parameter value.
        converter - the converter responsible for converting parameter value to string representation.
        sanitizer - the sanitizer responsible for sanitizing parameter value.
        Since:
        1.3.0
    • Method Detail

      • getValue

        protected Object getValue()
        Returns a parameter value.
        Returns:
        the parameter value.
        Since:
        1.3.0
      • getConverter

        protected ValueToStringConverter getConverter()
        Returns a converter responsible for converting parameter value to string representation.
        Returns:
        the converter.
        Since:
        1.3.0
      • getSanitizer

        protected ValueSanitizer getSanitizer()
        Returns a sanitizer responsible for sanitizing parameter value.
        Returns:
        the sanitizer.
        Since:
        1.3.0