* @param pluginName
* @return canned dyna-group addition instance or null on error or non-existing descriptor
*/
public static CannedGroupAddition getCannedGroupsAddition(URL url, String pluginName) {
try {
CannedGroupExpressions descriptor = AgentPluginDescriptorUtil.loadCannedExpressionsFromUrl(url);
return parseCGAdditions(descriptor, pluginName);
} catch (Exception e) {
log.error("Failed to parse plugin addition found in plugin [" + url + "]", e);
return null;
}