All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.noenv.wiremongo.command.update.WithUpdateCommand Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package com.noenv.wiremongo.command.update;

import com.noenv.wiremongo.command.WithQueryCommand;
import io.vertx.core.json.JsonObject;

public abstract class WithUpdateCommand extends WithQueryCommand {

  private final T update;

  public WithUpdateCommand(String method, String collection, JsonObject query, T update) {
    super(method, collection, query);
    this.update = update;
  }

  public T getUpdate() {
    return update;
  }

  @Override
  public String toString() {
    return super.toString() + ", update: " + update;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy