Search in sources :

Example 1 with IntegerConverter

use of fish.payara.nucleus.microprofile.config.converters.IntegerConverter in project Payara by payara.

the class ConfigProviderResolverImpl method getDefaultConverters.

List<Converter> getDefaultConverters() {
    LinkedList<Converter> result = new LinkedList<>();
    result.add(new BooleanConverter());
    result.add(new IntegerConverter());
    result.add(new LongConverter());
    result.add(new FloatConverter());
    result.add(new DoubleConverter());
    result.add(new DurationConverter());
    result.add(new LocalTimeConverter());
    result.add(new LocalDateConverter());
    result.add(new LocalDateTimeConverter());
    result.add(new OffsetDateTimeConverter());
    result.add(new OffsetTimeConverter());
    result.add(new InstantConverter());
    result.add(new URLConverter());
    result.add(new InetAddressConverter());
    result.add(new ChronoUnitConverter());
    return result;
}
Also used : LocalDateConverter(fish.payara.nucleus.microprofile.config.converters.LocalDateConverter) InetAddressConverter(fish.payara.nucleus.microprofile.config.converters.InetAddressConverter) OffsetTimeConverter(fish.payara.nucleus.microprofile.config.converters.OffsetTimeConverter) LocalTimeConverter(fish.payara.nucleus.microprofile.config.converters.LocalTimeConverter) InstantConverter(fish.payara.nucleus.microprofile.config.converters.InstantConverter) DoubleConverter(fish.payara.nucleus.microprofile.config.converters.DoubleConverter) BooleanConverter(fish.payara.nucleus.microprofile.config.converters.BooleanConverter) LinkedList(java.util.LinkedList) LocalDateTimeConverter(fish.payara.nucleus.microprofile.config.converters.LocalDateTimeConverter) ChronoUnitConverter(fish.payara.nucleus.microprofile.config.converters.ChronoUnitConverter) IntegerConverter(fish.payara.nucleus.microprofile.config.converters.IntegerConverter) LongConverter(fish.payara.nucleus.microprofile.config.converters.LongConverter) URLConverter(fish.payara.nucleus.microprofile.config.converters.URLConverter) ChronoUnitConverter(fish.payara.nucleus.microprofile.config.converters.ChronoUnitConverter) LongConverter(fish.payara.nucleus.microprofile.config.converters.LongConverter) OffsetDateTimeConverter(fish.payara.nucleus.microprofile.config.converters.OffsetDateTimeConverter) Converter(org.eclipse.microprofile.config.spi.Converter) DoubleConverter(fish.payara.nucleus.microprofile.config.converters.DoubleConverter) OffsetTimeConverter(fish.payara.nucleus.microprofile.config.converters.OffsetTimeConverter) InstantConverter(fish.payara.nucleus.microprofile.config.converters.InstantConverter) IntegerConverter(fish.payara.nucleus.microprofile.config.converters.IntegerConverter) LocalTimeConverter(fish.payara.nucleus.microprofile.config.converters.LocalTimeConverter) BooleanConverter(fish.payara.nucleus.microprofile.config.converters.BooleanConverter) DurationConverter(fish.payara.nucleus.microprofile.config.converters.DurationConverter) URLConverter(fish.payara.nucleus.microprofile.config.converters.URLConverter) LocalDateTimeConverter(fish.payara.nucleus.microprofile.config.converters.LocalDateTimeConverter) InetAddressConverter(fish.payara.nucleus.microprofile.config.converters.InetAddressConverter) FloatConverter(fish.payara.nucleus.microprofile.config.converters.FloatConverter) LocalDateConverter(fish.payara.nucleus.microprofile.config.converters.LocalDateConverter) DurationConverter(fish.payara.nucleus.microprofile.config.converters.DurationConverter) FloatConverter(fish.payara.nucleus.microprofile.config.converters.FloatConverter) OffsetDateTimeConverter(fish.payara.nucleus.microprofile.config.converters.OffsetDateTimeConverter)

Aggregations

BooleanConverter (fish.payara.nucleus.microprofile.config.converters.BooleanConverter)1 ChronoUnitConverter (fish.payara.nucleus.microprofile.config.converters.ChronoUnitConverter)1 DoubleConverter (fish.payara.nucleus.microprofile.config.converters.DoubleConverter)1 DurationConverter (fish.payara.nucleus.microprofile.config.converters.DurationConverter)1 FloatConverter (fish.payara.nucleus.microprofile.config.converters.FloatConverter)1 InetAddressConverter (fish.payara.nucleus.microprofile.config.converters.InetAddressConverter)1 InstantConverter (fish.payara.nucleus.microprofile.config.converters.InstantConverter)1 IntegerConverter (fish.payara.nucleus.microprofile.config.converters.IntegerConverter)1 LocalDateConverter (fish.payara.nucleus.microprofile.config.converters.LocalDateConverter)1 LocalDateTimeConverter (fish.payara.nucleus.microprofile.config.converters.LocalDateTimeConverter)1 LocalTimeConverter (fish.payara.nucleus.microprofile.config.converters.LocalTimeConverter)1 LongConverter (fish.payara.nucleus.microprofile.config.converters.LongConverter)1 OffsetDateTimeConverter (fish.payara.nucleus.microprofile.config.converters.OffsetDateTimeConverter)1 OffsetTimeConverter (fish.payara.nucleus.microprofile.config.converters.OffsetTimeConverter)1 URLConverter (fish.payara.nucleus.microprofile.config.converters.URLConverter)1 LinkedList (java.util.LinkedList)1 Converter (org.eclipse.microprofile.config.spi.Converter)1