com.noenv.wiremongo.command.collection.WithCollectionCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-wiremongo Show documentation
Show all versions of vertx-wiremongo Show documentation
Lightweight mongo mocking for Vert.x
package com.noenv.wiremongo.command.collection;
import com.noenv.wiremongo.command.CommandBase;
public abstract class WithCollectionCommand extends CommandBase {
private final String collection;
public WithCollectionCommand(String method, String collection) {
super(method);
this.collection = collection;
}
public String getCollection() {
return collection;
}
@Override
public String toString() {
return super.toString() + ", collection: " + collection;
}
}