use of com.sequenceiq.flow.domain.StateStatus in project cloudbreak by hortonworks.
the class FlowLogDBService method updateLastFlowLogStatus.
@Override
public void updateLastFlowLogStatus(FlowLog lastFlowLog, boolean failureEvent) {
StateStatus stateStatus = failureEvent ? StateStatus.FAILED : StateStatus.SUCCESSFUL;
flowLogRepository.updateLastLogStatusInFlow(lastFlowLog.getId(), stateStatus);
}
Aggregations