Interface EngineFactory

    • Method Detail

      • createEngine

        Engine createEngine​(java.util.Properties props)
                     throws ReportException
        Creates an Engine based on the properties.
        Parameters:
        props - contains parameters for the Engine. e.g. "export_fmt" = Engine.EXPORT_PDF. The properties should not modified.
        Returns:
        the created Engine
        Throws:
        ReportException - will be thrown when setting parameters for the Engine failed
        Since:
        6.0
      • getKey

        ReportCacheKey getKey​(java.util.Properties props)
                       throws ReportException
        Creates an unique key for the Engine that createEngine(Properties) returns. This value can be null. If the value is null then the default key generation algorithm is used.
        Parameters:
        props - contains parameters for the Engine. Every value that modify the Engine should be part of the key. The properties should not be modified.
        Returns:
        the created ReportCacheKey
        Throws:
        ReportException - will be thrown when the parameters are incomplete.
        Since:
        6.0