use of org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest in project yamcs-studio by yamcs.
the class CommandQueuedTableViewer method updateQueueEntryState.
// 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 updateQueueEntryState(CommandQueueEntry entry, String state, boolean rebuild) {
EditCommandQueueEntryRequest req = EditCommandQueueEntryRequest.newBuilder().setState(state).build();
CommandingCatalogue catalogue = CommandingCatalogue.getInstance();
catalogue.editQueuedCommand(entry, req);
}
Aggregations