/** * Used to determine which BOM to take. * Currently we only have these tags: eap, eap7. */ private Set<String> getTargetTechnologies() { WindupConfigurationModel wc = grCtx.getUnique(WindupConfigurationModel.class); Iterable<TechnologyReferenceModel> targetTechnologies = wc.getTargetTechnologies(); Set<String> techs = new HashSet<>(); for (TechnologyReferenceModel tech : targetTechnologies) { techs.add(tech.getTechnologyID()); } return techs; }
/** * Used to determine which BOM to take. * Currently we only have these tags: eap, eap7. */ private Set<String> getTargetTechnologies() { WindupConfigurationModel wc = grCtx.getUnique(WindupConfigurationModel.class); Iterable<TechnologyReferenceModel> targetTechnologies = wc.getTargetTechnologies(); Set<String> techs = new HashSet<>(); for (TechnologyReferenceModel tech : targetTechnologies) { techs.add(tech.getTechnologyID()); } return techs; }
for (TechnologyReferenceModel target : configurationModel.getTargetTechnologies())
for (TechnologyReferenceModel target : configurationModel.getTargetTechnologies())