Package com.adobe.granite.timeline
Interface TimelineAggregator
-
public interface TimelineAggregator
TheTimelineAggregator
is an OSGi-service providing creation ofTimeline
s 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 Timeline
createTimeline(Resource resource)
Create aTimeline
for the givenresource
.java.util.Map<java.lang.String,TimelineEventType>
getTypes()
Returns a collection of all knownTimelineEventType
s.
-
-
-
Method Detail
-
createTimeline
Timeline createTimeline(Resource resource)
Create aTimeline
for the givenresource
.
-
getTypes
java.util.Map<java.lang.String,TimelineEventType> getTypes()
Returns a collection of all knownTimelineEventType
s. The types are provided by theTimelineEventProvider
s registered.- Returns:
- A
Map
ofTimelineEventType
s and their keys (names) - or an empty map if no providers are registered.
-
-