docs: public void createTransitionsForState(final Flow flow, final String stateId, final Map<String, String> criteriaAndTargets) {
          if (containsFlowState(flow, stateId)) {
              val state = getState(flow, stateId);
              criteriaAndTargets.forEach((k, v) -> createTransitionForState(state, k, v));
          }
      }