use of com.thoughtworks.go.server.ui.plugins.NewPluginInfo in project gocd by gocd.
the class DefaultPluginInfoBuilder method getImage.
public Image getImage(String pluginId, String hash) {
NewPluginInfo pluginInfo = pluginInfoFor(pluginId);
Image image = findImage(pluginInfo);
if (image != null && image.getHash().equals(hash)) {
return image;
}
return null;
}
Aggregations