Package com.adobe.granite.timeline
Interface TimelineAggregator
-
public interface TimelineAggregatorTheTimelineAggregatoris an OSGi-service providing creation ofTimelines for the given resource. The service can be obtained from the OSGi service registry via the interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimelinecreateTimeline(Resource resource)Create aTimelinefor the givenresource.java.util.Map<java.lang.String,TimelineEventType>getTypes()Returns a collection of all knownTimelineEventTypes.
-
-
-
Method Detail
-
createTimeline
Timeline createTimeline(Resource resource)
Create aTimelinefor the givenresource.
-
getTypes
java.util.Map<java.lang.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.
-
-