org.pentaho.platform.api.engine
Interface IPentahoPublisher

All Known Implementing Classes:
BasePublisher, CleanRepoPublisher, GlobalListsPublisher, MetadataPublisher, MondrianCachePublisher, PluginManager, SettingsPublisher, SolutionPublisher, SubscriptionPublisher

public interface IPentahoPublisher

Defines the interface for getting objects published in the platform. Publishers are defined in the pentaho.xml, and show up on the console in the Publish jsp.

Author:
mbatchel
See Also:
SolutionPublisher, SettingsPublisher

Method Summary
 String getDescription()
           
 String getName()
           
 String publish(IPentahoSession session, int loggingLevel)
          Called when the publish is requested.
 

Method Detail

publish

String publish(IPentahoSession session,
               int loggingLevel)
Called when the publish is requested.

Parameters:
session - The session of the requester
loggingLevel - Log granularity level
Returns:
message indicating success or failure. This message is shown back to the user that requested the publish.

getName

String getName()
Returns:
The name of the publisher. This name is displayed in the Publish JSP

getDescription

String getDescription()
Returns:
The description of the publisher. This string is displayed in the Publish JSP