Search in sources :

Example 1 with EditCommandQueueEntryRequest

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);
}
Also used : EditCommandQueueEntryRequest(org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest) CommandingCatalogue(org.yamcs.studio.core.model.CommandingCatalogue)

Aggregations

EditCommandQueueEntryRequest (org.yamcs.protobuf.Rest.EditCommandQueueEntryRequest)1 CommandingCatalogue (org.yamcs.studio.core.model.CommandingCatalogue)1