protected IntegrationStepHandler findHandler(Step step) { for (int i = 0; i < stepHandlerList.size(); i++) { IntegrationStepHandler handler = stepHandlerList.get(i); if (handler.canHandle(step)) { LOGGER.debug("Step kind: {}, handler: {}", step.getStepKind(), handler.getClass().getName()); return handler; } } throw new IllegalStateException("Unsupported step kind: " + step.getStepKind()); }
protected IntegrationStepHandler findHandler(Step step) { for (int i = 0; i < stepHandlerList.size(); i++) { IntegrationStepHandler handler = stepHandlerList.get(i); if (handler.canHandle(step)) { LOGGER.debug("Step kind: {}, handler: {}", step.getStepKind(), handler.getClass().getName()); return handler; } } throw new IllegalStateException("Unsupported step kind: " + step.getStepKind()); } }