Interface TimelineEventProvider


public interface TimelineEventProvider
A TimelineEntryProvider provides TimelineEvents to a Timeline. Implementations must register themselves as an OSGi-component and declare itself as a service on this interface. This way the timeline aggregator service is able to dynamically use available providers to generate timline events for a given Resource. A provider may decide (see accepts(org.apache.sling.api.resource.Resource)) whether to provide events or not for a given resource. Events are provided via getEvents(org.apache.sling.api.resource.Resource).