Package com.adobe.granite.timeline
Interface TimelineAggregator
public interface TimelineAggregator
The
TimelineAggregator is an OSGi-service providing creation of Timelines for the given
resource. The service can be obtained from the OSGi service registry via the interface.-
Method Summary
Modifier and TypeMethodDescriptioncreateTimeline(Resource resource) Create aTimelinefor the givenresource.getTypes()Returns a collection of all knownTimelineEventTypes.
-
Method Details
-
createTimeline
Create aTimelinefor the givenresource. -
getTypes
Map<String,TimelineEventType> getTypes()Returns a collection of all knownTimelineEventTypes. The types are provided by theTimelineEventProviders registered.- Returns:
- A
MapofTimelineEventTypes and their keys (names) - or an empty map if no providers are registered.
-