281282283284285286287288289290
/** * Gets the plugin with the given name from the first {@link UpdateSite} to contain it. */ public Plugin getPlugin(String artifactId) { for (UpdateSite s : sites) { Plugin p = s.getPlugin(artifactId); if (p!=null) return p; } return null; }
259260261262263264265266267268