public void addActionType(ActionType actionType) { modules.add(actionType.getUID()); scriptedCustomModuleTypeProvider.addModuleType(actionType); }
result = method.invoke(this.actionProvider, args.toArray()); } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { logger.error("Could not call method '{}' from module type '{}'.", method, moduleType.getUID(), e); logger.error( "The return type of action method '{}' from module type '{}' should be Map<String, Object>, because {}", method, moduleType.getUID(), ex.getMessage());