@@ -99,7 +99,7 @@ public CleanMongoDB(MongoClient client) {
99
99
}
100
100
101
101
/**
102
- * Removes everything by dropping every single {@link DB }.
102
+ * Removes everything by dropping every single {@link MongoDatabase }.
103
103
*
104
104
* @return
105
105
*/
@@ -111,7 +111,7 @@ public static CleanMongoDB everything() {
111
111
}
112
112
113
113
/**
114
- * Removes everything from the databases with given name by dropping the according {@link DB }.
114
+ * Removes everything from the databases with given name by dropping the according {@link MongoDatabase }.
115
115
*
116
116
* @param dbNames
117
117
* @return
@@ -125,7 +125,7 @@ public static CleanMongoDB databases(String... dbNames) {
125
125
}
126
126
127
127
/**
128
- * Drops the {@link DBCollection } with given names from every single {@link DB } containing them.
128
+ * Drops the {@link MongoCollection } with given names from every single {@link MongoDatabase } containing them.
129
129
*
130
130
* @param collectionNames
131
131
* @return
@@ -135,7 +135,7 @@ public static CleanMongoDB collections(String... collectionNames) {
135
135
}
136
136
137
137
/**
138
- * Drops the {@link DBCollection } with given names from the named {@link DB }.
138
+ * Drops the {@link MongoCollection } with given names from the named {@link MongoDatabase }.
139
139
*
140
140
* @param dbName
141
141
* @param collectionNames
@@ -150,7 +150,7 @@ public static CleanMongoDB collections(String dbName, Collection<String> collect
150
150
}
151
151
152
152
/**
153
- * Drops all index structures from every single {@link DBCollection }.
153
+ * Drops all index structures from every single {@link MongoCollection }.
154
154
*
155
155
* @return
156
156
*/
@@ -159,7 +159,7 @@ public static CleanMongoDB indexes() {
159
159
}
160
160
161
161
/**
162
- * Drops all index structures from every single {@link DBCollection }.
162
+ * Drops all index structures from every single {@link MongoCollection }.
163
163
*
164
164
* @param collectionNames
165
165
* @return
@@ -185,7 +185,7 @@ public CleanMongoDB clean(Struct... types) {
185
185
}
186
186
187
187
/**
188
- * Defines the {@link DB }s to be used. <br />
188
+ * Defines the {@link MongoDatabase }s to be used. <br />
189
189
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
190
190
* <ul>
191
191
* <li>{@link Struct#DATABASE}: Forces drop of named databases.</li>
@@ -203,7 +203,7 @@ public CleanMongoDB useDatabases(String... dbNames) {
203
203
}
204
204
205
205
/**
206
- * Excludes the given {@link DB }s from being processed.
206
+ * Excludes the given {@link MongoDatabase }s from being processed.
207
207
*
208
208
* @param dbNames
209
209
* @return
@@ -214,7 +214,7 @@ public CleanMongoDB preserveDatabases(String... dbNames) {
214
214
}
215
215
216
216
/**
217
- * Defines the {@link DBCollection }s to be used. <br />
217
+ * Defines the {@link MongoCollection }s to be used. <br />
218
218
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
219
219
* <ul>
220
220
* <li>{@link Struct#COLLECTION}: Forces drop of named collections.</li>
@@ -233,7 +233,7 @@ private CleanMongoDB useCollections(Collection<String> collectionNames) {
233
233
}
234
234
235
235
/**
236
- * Defines the {@link DBCollection }s and {@link DB } to be used. <br />
236
+ * Defines the {@link MongoCollection }s and {@link MongoDatabase } to be used. <br />
237
237
* Impact along with {@link CleanMongoDB#clean(Struct...)}:
238
238
* <ul>
239
239
* <li>{@link Struct#COLLECTION}: Forces drop of named collections in given db.</li>
0 commit comments