use of org.onosproject.workflow.api.WorkflowExecutionService in project onos by opennetworkinglab.
the class WorkFlowCommand method eval.
/**
* Evaluates workflow context.
* @param workflowContextName workflow context name
*/
private void eval(String workflowContextName) {
WorkplaceStore storService = get(WorkplaceStore.class);
WorkflowExecutionService execService = get(WorkflowExecutionService.class);
WorkflowContext context = storService.getContext(workflowContextName);
if (context == null) {
error("failed to find workflow context {}", workflowContextName);
return;
}
execService.eval(workflowContextName);
}
Aggregations