use of com.sequenceiq.flow.core.exception.FlowNotFoundException in project cloudbreak by hortonworks.
the class Flow2Handler method restartFlow.
public void restartFlow(String flowId) {
FlowLog flowLog = flowLogService.findFirstByFlowIdOrderByCreatedDesc(flowId).orElseThrow(() -> new FlowNotFoundException(flowId));
restartFlow(flowLog);
}
Aggregations