org.olat.core.extensions
Interface OLATExtension

All Known Implementing Classes:
AdminSiteDef, BCCourseNodeConfiguration, BlogCourseNodeConfiguration, CalCourseNodeConfiguration, ChecklistCourseNodeConfiguration, COCourseNodeConfiguration, CPCourseNodeConfiguration, DENCourseNodeConfiguration, DialogCourseNodeConfiguration, ENCourseNodeConfiguration, FOCourseNodeConfiguration, GroupsManagementSiteDef, GroupsSiteDef, GUIDemoSiteDef, HomeSiteDef, IQSELFCourseNodeConfiguration, IQSURVCourseNodeConfiguration, IQTESTCourseNodeConfiguration, LLCourseNodeConfiguration, MSCourseNodeConfiguration, PodcastCourseNodeConfiguration, ProjectBrokerNodeConfiguration, RepositorySiteDef, ScormCourseNodeConfiguration, SPCourseNodeConfiguration, STCourseNodeConfiguration, TACourseNodeConfiguration, TUCourseNodeConfiguration, UserAdminSiteDef, WikiCourseNodeConfiguration

public interface OLATExtension

Description:


Method Summary
 ExtensionResource getExtensionCSS()
          The extension may provider a CSS.
 java.util.List getExtensionResources()
          The extension may provide a list of Resources.
 java.lang.String getName()
          Return a name of this extension.
 void setup()
          Called after OLAT fully started up.
 void tearDown()
          Called before OLAT shuts down.
 

Method Detail

getName

java.lang.String getName()
Return a name of this extension. This is for identifying the extension only.

Returns:

getExtensionResources

java.util.List getExtensionResources()
The extension may provide a list of Resources. These resources will get deployed to a local directory from which they will be accessible via the web through the URLBuilder provided by setURLBuilder.

Returns:
A List (may be empty, but not null)

getExtensionCSS

ExtensionResource getExtensionCSS()
The extension may provider a CSS. The CSS will be included in the OLAT main header.

Returns:

setup

void setup()
Called after OLAT fully started up.


tearDown

void tearDown()
Called before OLAT shuts down.