Interface PresentationServicesEngineBuilder


  • public interface PresentationServicesEngineBuilder
    A builder used to configure and build a new PresentationServicesEngine, including the underlying ContentServicesEngine.
    • Method Detail

      • build

        PresentationServicesEngine build()
        Builds a PresentationServicesEngineBuilder based on the parameters set on this builder.
        Returns:
        the new PresentationServicesEngineBuilder
      • dataSource

        PresentationServicesEngineBuilder dataSource​(DataSource dataSource)
        Specifies which data source to use.
        Parameters:
        dataSource - the data source to use
        Returns:
        this PresentationServicesEngineBuilder
      • propertyFile

        PresentationServicesEngineBuilder propertyFile​(String... propertyFiles)
        Specifies one or more property files to load.
        Parameters:
        propertyFiles - name of propertyFiles to load
        Returns:
        this PresentationServicesEngineBuilder
      • properties

        PresentationServicesEngineBuilder properties​(Properties properties)
        Specifies properties used to configure the PresentationServicesEngine. You can call this function many times. Properties defined in latter iterations overrides properties set earlier.
        Parameters:
        properties - properties to add
        Returns:
        this PresentationServicesEngineBuilder