use of org.yamcs.protobuf.Rest.EditCommandQueueRequest in project yamcs-studio by yamcs.
the class CommandQueuesTableViewer method updateQueueState.
// rebuild doesn't seem to do anything and therefore is not currently included in rest api
// keeping it around for future reference mostly
private void updateQueueState(CommandQueueInfo queue, QueueState queueState, boolean rebuild) {
EditCommandQueueRequest req = EditCommandQueueRequest.newBuilder().setState(queueState.toString()).build();
CommandingCatalogue catalogue = CommandingCatalogue.getInstance();
catalogue.editQueue(queue, req);
}
Aggregations