Interface ReportEntryPlugin<T>

    • Method Detail

      • extract

        java.lang.Object extract​(T source,
                                 java.util.Locale locale)
                          throws java.lang.Exception
        Extracts a piece of information from the source in arguments.

        If the source contains localized data, it will be extracted for the specified locale or a less specific if not found.

        Parameters:
        source - the source to inspect, must not be null
        locale - the String representation of a Locale, must not be null
        Returns:
        a DTO representation or null if no data is available
        Throws:
        java.lang.Exception
      • getProperties

        java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Returns:
        a map of properties, never null