Interface PortletRunner


  • public interface PortletRunner
    The PortletRunner lets you run a portlet on-demand. PortletRunner is an immutable value type, and each configuration method returns a new instance.
    • Method Detail

      • portlet

        PortletRunner portlet​(String name)
        Sets the name of the portlet to run
        Parameters:
        name - the name of the portlet to run
        Returns:
        a new, configured PortletRunner
      • run

        PortletResult run()
        Runs the portlet, using the specified configuration
        Returns:
        the output from the portlet