private boolean hasOutput(ActionType moduleType, String out) { for (Output o : moduleType.getOutputs()) { if (o.getName().equals(out)) { return true; } } return false; } }
private static <T extends ActionTypeDTO> T map(final ActionType actionType, final T actionTypeDto) { fillProperties(actionType, actionTypeDto); actionTypeDto.inputs = actionType.getInputs(); actionTypeDto.outputs = actionType.getOutputs(); return actionTypeDto; }
moduleTypeContent.addAll(collectRecords(columnWidths, OUTPUTS, ((ActionType) moduleType).getOutputs()));
throw new IllegalArgumentException(msg + " Action Type with UID \"" + typeUID + "\" does not exist!"); checkCompatibility(msg, connection, input, actionType.getOutputs()); } else { checkConnection(mtRegistry, connection, input, triggers);
List<Input> inputs = ModuleTypeI18nUtil.getLocalizedInputs(i18nProvider, at.getInputs(), bundle, moduleTypeUID, locale); List<Output> outputs = ModuleTypeI18nUtil.getLocalizedOutputs(i18nProvider, at.getOutputs(), bundle, moduleTypeUID, locale); ActionType lat = null;
ActionType m = (ActionType) mType; result = new ActionType(mType.getUID(), mType.getConfigurationDescriptions(), mType.getLabel(), mType.getDescription(), mType.getTags(), mType.getVisibility(), m.getInputs(), m.getOutputs()); } else { throw new IllegalArgumentException("Invalid template type:" + mType);
ActionType at = (ActionType) mtRegistry.get(a.getTypeUID()); if (at != null) { initTagsMap(a.getId(), at.getOutputs(), actionOutputTags);