private void writePluginUpdateAggregate(JsonWriter jsonWriter, PluginUpdateAggregate aggregate) { jsonWriter.beginObject(); Plugin plugin = aggregate.getPlugin(); pluginWSCommons.writePlugin(jsonWriter, plugin); writeUpdates(jsonWriter, aggregate.getUpdates()); jsonWriter.endObject(); }
@Override public Plugin apply(@Nonnull PluginUpdateAggregate input) { return input.getPlugin(); }