public TechnologyReference(TechnologyReferenceModel model) { this(model.getTechnologyID(), model.getVersionRange()); }
public TechnologyReference(TechnologyReferenceModel model) { this(model.getTechnologyID(), model.getVersionRange()); }
/** * 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; }