예제 #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();
  }
예제 #2
0
 @Override
 public Plugin apply(@Nonnull PluginUpdateAggregate input) {
   return input.getPlugin();
 }