Class DefaultValueToStringConverter
- java.lang.Object
-
- biz.gabrys.maven.plugin.util.parameter.converter.AbstractValueToStringConverter
-
- biz.gabrys.maven.plugin.util.parameter.converter.DefaultValueToStringConverter
-
- All Implemented Interfaces:
ValueToStringConverter
public class DefaultValueToStringConverter extends AbstractValueToStringConverter
DefaultValueToStringConverter
which allows to converts basic types. Supported types:- arrays (see
ArrayToStringConverter
) - collections (see
CollectionToStringConverter
) - objects (see
ObjectToStringConverter
)
- Since:
- 1.3.0
-
-
Field Summary
-
Fields inherited from class biz.gabrys.maven.plugin.util.parameter.converter.AbstractValueToStringConverter
NULL_STRING
-
-
Constructor Summary
Constructors Constructor Description DefaultValueToStringConverter()
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert2(Object value)
Converts a parameter value to string representation.-
Methods inherited from class biz.gabrys.maven.plugin.util.parameter.converter.AbstractValueToStringConverter
convert
-
-
-
-
Method Detail
-
convert2
public String convert2(Object value)
Description copied from class:AbstractValueToStringConverter
Converts a parameter value to string representation.- Specified by:
convert2
in classAbstractValueToStringConverter
- Parameters:
value
- the parameter value (nevernull
).- Returns:
- the string representation of the parameter value (can be
null
).
-
-