org.pentaho.platform.plugin.services.pluginmgr
Class PluginAdapter
java.lang.Object
org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter
- All Implemented Interfaces:
- IPentahoPublisher, IPentahoSystemListener
public class PluginAdapter
- extends Object
- implements IPentahoSystemListener, IPentahoPublisher
PluginAdapter
public PluginAdapter()
startup
public boolean startup(IPentahoSession session)
- Description copied from interface:
IPentahoSystemListener
- Notification of system startup. This event fires at the end of system
initialization, after all system components have started successfully.
- Specified by:
startup
in interface IPentahoSystemListener
shutdown
public void shutdown()
- Description copied from interface:
IPentahoSystemListener
- Notification of system shutdown. This event fires right before the server
context is shutdown.
- Specified by:
shutdown
in interface IPentahoSystemListener
getDescription
public String getDescription()
- Specified by:
getDescription
in interface IPentahoPublisher
- Returns:
- The description of the publisher. This string is displayed in the Publish JSP
getName
public String getName()
- Specified by:
getName
in interface IPentahoPublisher
- Returns:
- The name of the publisher. This name is displayed in the Publish JSP
publish
public String publish(IPentahoSession session,
int loggingLevel)
- Description copied from interface:
IPentahoPublisher
- Called when the publish is requested.
- Specified by:
publish
in interface IPentahoPublisher
- Parameters:
session
- The session of the requesterloggingLevel
- Log granularity level
- Returns:
- message indicating success or failure. This message
is shown back to the user that requested the publish.