public Version getExactVersion() { return getVersion().getExactVersion(); }
public Version getExactVersion() { return getVersion().getExactVersion(); }
public BundleSuggestion suggestBundleToUse(DeploymentContent content) { BundleInfo bundleInfo = null; if ((app.getBundleInfo() != null) && (!app.getBundleInfo().isEmpty())) { for (BundleInfo bi : app.getBundleInfo()) { if (bi.getSymbolicName().equals(content.getContentName()) && (bi.getVersion().equals(content.getVersion().getExactVersion()))) { bundleInfo = bi; break; } } } if (bundleInfo != null) { return new BundleSuggestionImpl(bundleInfo); } else { return null; } }