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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortletRunner
client(PresentationServicesClient client)
Sets which client context to usePortletRunner
portlet(String name)
Sets the name of the portlet to runPortletResult
run()
Runs the portlet, using the specified configuration
-
-
-
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
-
client
PortletRunner client(PresentationServicesClient client)
Sets which client context to use- Parameters:
client
- the client context to use- Returns:
- a new, configured PortletRunner
-
run
PortletResult run()
Runs the portlet, using the specified configuration- Returns:
- the output from the portlet
-
-