Class PlexusXmlBeanConverter

    • Method Detail

      • convert

        public Object convert​(com.google.inject.TypeLiteral role,
                              String value)
        Description copied from interface: PlexusBeanConverter
        Converts the given constant value to a bean of the given type.
        Specified by:
        convert in interface PlexusBeanConverter
        Parameters:
        role - The expected bean type
        value - The constant value
        Returns:
        Bean of the given type, based on the given constant value