Example #1
0
  private void writePluginUpdateAggregate(JsonWriter jsonWriter, PluginUpdateAggregate aggregate) {
    jsonWriter.beginObject();
    Plugin plugin = aggregate.getPlugin();

    pluginWSCommons.writePlugin(jsonWriter, plugin);

    writeUpdates(jsonWriter, aggregate.getUpdates());

    jsonWriter.endObject();
  }
Example #2
0
 @Override
 public Plugin apply(@Nonnull PluginUpdateAggregate input) {
   return input.getPlugin();
 }