Package org.yamcs.http.api
Class TimelineApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBand
(Context ctx, AddBandRequest request, Observer<TimelineBand> observer) Add a bandvoid
addItemLog
(Context ctx, AddItemLogRequest request, Observer<LogEntry> observer) add an entry to the item log table The timestamp from the messages is used if specified; if not specified, the current mission time will be usedvoid
addView
(Context ctx, AddViewRequest request, Observer<TimelineView> observer) Add a viewvoid
createItem
(Context ctx, CreateItemRequest request, Observer<TimelineItem> observer) Create an itemvoid
deleteBand
(Context ctx, DeleteBandRequest request, Observer<TimelineBand> observer) Delete a bandvoid
deleteItem
(Context ctx, DeleteItemRequest request, Observer<TimelineItem> observer) Delete an itemvoid
deleteTimelineGroup
(Context ctx, DeleteTimelineGroupRequest request, Observer<TimelineItem> observer) Delete a groupvoid
deleteView
(Context ctx, DeleteViewRequest request, Observer<TimelineView> observer) Delete a viewvoid
getBand
(Context ctx, GetBandRequest request, Observer<TimelineBand> observer) Get a bandvoid
getItem
(Context ctx, GetItemRequest request, Observer<TimelineItem> observer) Get an itemvoid
getItemLog
(Context ctx, GetItemLogRequest request, Observer<TimelineItemLog> observer) Get an item logvoid
getView
(Context ctx, GetViewRequest request, Observer<TimelineView> observer) Get a viewvoid
listBands
(Context ctx, ListBandsRequest request, Observer<ListBandsResponse> observer) List all bandsvoid
listItems
(Context ctx, ListItemsRequest request, Observer<ListItemsResponse> observer) List itemsvoid
listSources
(Context ctx, ListSourcesRequest request, Observer<ListSourcesResponse> observer) List timeline sources Usually there is a source named 'rdb' which provides items from an internal RocksDB database.void
listTags
(Context ctx, ListTimelineTagsRequest request, Observer<ListTimelineTagsResponse> observer) List all tags available for the 'rdb' source.void
listViews
(Context ctx, ListViewsRequest request, Observer<ListViewsResponse> observer) List all viewsvoid
updateBand
(Context ctx, UpdateBandRequest request, Observer<TimelineBand> observer) Update a bandvoid
updateItem
(Context ctx, UpdateItemRequest request, Observer<TimelineItem> observer) Update an itemvoid
updateView
(Context ctx, UpdateViewRequest request, Observer<TimelineView> observer) Update a viewMethods inherited from class org.yamcs.protobuf.AbstractTimelineApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
TimelineApi
public TimelineApi()
-
-
Method Details
-
createItem
Description copied from class:AbstractTimelineApi
Create an item
- Specified by:
createItem
in classAbstractTimelineApi<Context>
-
getItem
Description copied from class:AbstractTimelineApi
Get an item
- Specified by:
getItem
in classAbstractTimelineApi<Context>
-
updateItem
Description copied from class:AbstractTimelineApi
Update an item
- Specified by:
updateItem
in classAbstractTimelineApi<Context>
-
listItems
Description copied from class:AbstractTimelineApi
List items
- Specified by:
listItems
in classAbstractTimelineApi<Context>
-
getItemLog
Description copied from class:AbstractTimelineApi
Get an item log
- Specified by:
getItemLog
in classAbstractTimelineApi<Context>
-
addItemLog
Description copied from class:AbstractTimelineApi
add an entry to the item log table The timestamp from the messages is used if specified; if not specified, the current mission time will be used
- Specified by:
addItemLog
in classAbstractTimelineApi<Context>
-
listSources
public void listSources(Context ctx, ListSourcesRequest request, Observer<ListSourcesResponse> observer) Description copied from class:AbstractTimelineApi
List timeline sources Usually there is a source named 'rdb' which provides items from an internal RocksDB database. Other external sources may be created by adding plugins (e.g. a shift planner)
- Specified by:
listSources
in classAbstractTimelineApi<Context>
-
listTags
public void listTags(Context ctx, ListTimelineTagsRequest request, Observer<ListTimelineTagsResponse> observer) Description copied from class:AbstractTimelineApi
List all tags available for the 'rdb' source. Note that currently the 'rdb' source does not discard unused tags (e.g. if all item using one tag have been deleted, the tag will still be returned by this call)
- Specified by:
listTags
in classAbstractTimelineApi<Context>
-
addBand
Description copied from class:AbstractTimelineApi
Add a band
- Specified by:
addBand
in classAbstractTimelineApi<Context>
-
getBand
Description copied from class:AbstractTimelineApi
Get a band
- Specified by:
getBand
in classAbstractTimelineApi<Context>
-
listBands
Description copied from class:AbstractTimelineApi
List all bands
- Specified by:
listBands
in classAbstractTimelineApi<Context>
-
updateBand
Description copied from class:AbstractTimelineApi
Update a band
- Specified by:
updateBand
in classAbstractTimelineApi<Context>
-
deleteBand
Description copied from class:AbstractTimelineApi
Delete a band
- Specified by:
deleteBand
in classAbstractTimelineApi<Context>
-
addView
Description copied from class:AbstractTimelineApi
Add a view
- Specified by:
addView
in classAbstractTimelineApi<Context>
-
getView
Description copied from class:AbstractTimelineApi
Get a view
- Specified by:
getView
in classAbstractTimelineApi<Context>
-
listViews
Description copied from class:AbstractTimelineApi
List all views
- Specified by:
listViews
in classAbstractTimelineApi<Context>
-
updateView
Description copied from class:AbstractTimelineApi
Update a view
- Specified by:
updateView
in classAbstractTimelineApi<Context>
-
deleteView
Description copied from class:AbstractTimelineApi
Delete a view
- Specified by:
deleteView
in classAbstractTimelineApi<Context>
-
deleteItem
Description copied from class:AbstractTimelineApi
Delete an item
- Specified by:
deleteItem
in classAbstractTimelineApi<Context>
-
deleteTimelineGroup
public void deleteTimelineGroup(Context ctx, DeleteTimelineGroupRequest request, Observer<TimelineItem> observer) Description copied from class:AbstractTimelineApi
Delete a group
- Specified by:
deleteTimelineGroup
in classAbstractTimelineApi<Context>
-