java.lang.Object
org.yamcs.timeline.TimelineItemDb
- All Implemented Interfaces:
ItemProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItem(TimelineItem item) Add an item and return the added item.deleteItem(UUID uuid) Delete the item with the given uuid and return the deleted item.deleteTimelineGroup(UUID uuid) org.yamcs.protobuf.TimelineSourceCapabilitiesvoidgetItems(int limit, String token, ItemFilter filter, ItemListener consumer) getTags()updateItem(TimelineItem item) Update an item and return the updated item.
-
Field Details
-
TIMELINE_DEF
-
CNAME_START
- See Also:
-
CNAME_DURATION
- See Also:
-
CNAME_ID
- See Also:
-
CNAME_NAME
- See Also:
-
CNAME_TYPE
- See Also:
-
CNAME_TAGS
- See Also:
-
CNAME_GROUP_ID
- See Also:
-
CNAME_RELTIME_ID
- See Also:
-
CNAME_RELTIME_START
- See Also:
-
-
Constructor Details
-
TimelineItemDb
- Throws:
InitException
-
-
Method Details
-
addItem
Description copied from interface:ItemProviderAdd an item and return the added item.The returned value should have defaults (if any) filled in, also if the item has a relative time, the start time of the returned value will be computed from the relative time and the start of
TimelineItem.relativeItemUuid- Specified by:
addItemin interfaceItemProvider
-
updateItem
Description copied from interface:ItemProviderUpdate an item and return the updated item.The item parameter should have the uuid set and at least the start time or relative time
- Specified by:
updateItemin interfaceItemProvider- Returns:
- the updated item
-
getItem
- Specified by:
getItemin interfaceItemProvider
-
deleteItem
Description copied from interface:ItemProviderDelete the item with the given uuid and return the deleted item.If the item does not exist, return null
- Specified by:
deleteItemin interfaceItemProvider
-
deleteTimelineGroup
- Specified by:
deleteTimelineGroupin interfaceItemProvider
-
getItems
- Specified by:
getItemsin interfaceItemProvider
-
getTags
- Specified by:
getTagsin interfaceItemProvider
-
getCapabilities
public org.yamcs.protobuf.TimelineSourceCapabilities getCapabilities()- Specified by:
getCapabilitiesin interfaceItemProvider
-