Interface ConfigMapper<R>

    • Method Summary

      Modifier and Type Method Description
      java.lang.String getMapperName()  
      R map​(ReadableMap config)
      Produce a result of a specific type.
    • Method Detail

      • getMapperName

        java.lang.String getMapperName()
        Returns:
        the value that may match a key from a TOML configuration file
      • map

        R map​(ReadableMap config)
        Produce a result of a specific type.
        The configuration object may be used to gather additional information required to construct the object.
        Parameters:
        config - the configuration object loaded from the file
        Returns:
        a result representing the value