Interface PlexusBeanConverter

  • All Known Implementing Classes:
    PlexusXmlBeanConverter

    public interface PlexusBeanConverter
    Service that converts values into various beans by following Plexus configuration rules.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T convert​(com.google.inject.TypeLiteral<T> role, String value)
      Converts the given constant value to a bean of the given type.
    • Method Detail

      • convert

        <T> T convert​(com.google.inject.TypeLiteral<T> role,
                      String value)
        Converts the given constant value to a bean of the given type.
        Parameters:
        role - The expected bean type
        value - The constant value
        Returns:
        Bean of the given type, based on the given constant value