Class ParametersLogBuilder.Container
- java.lang.Object
-
- biz.gabrys.maven.plugin.util.parameter.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 Summary
Constructors Modifier Constructor Description protected
Container(Object value, ValueToStringConverter converter, ValueSanitizer sanitizer)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValueToStringConverter
getConverter()
Returns a converter responsible for converting parameter value to string representation.protected ValueSanitizer
getSanitizer()
Returns a sanitizer responsible for sanitizing parameter value.protected Object
getValue()
Returns a parameter value.
-
-
-
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
-
-