Class MongodbSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.mongo.MongodbSupplierProperties
@ConfigurationProperties("mongodb.supplier")
@Validated
public class MongodbSupplierProperties
extends Object
- Author:
- Adam Zwickey, Artem Bilan, Chris Schaefer, David Turanski
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotBlank(message="Collection name is required") String
@NotEmpty(message="Query is required") String
getQuery()
boolean
isSplit()
void
setCollection
(String collection) void
void
setQueryExpression
(Expression queryExpression) void
setSplit
(boolean split) void
setUpdateExpression
(Expression updateExpression)
-
Constructor Details
-
MongodbSupplierProperties
public MongodbSupplierProperties()
-
-
Method Details
-
getQuery
@NotEmpty(message="Query is required") public @NotEmpty(message="Query is required") String getQuery() -
setQuery
-
getQueryExpression
-
setQueryExpression
-
getCollection
@NotBlank(message="Collection name is required") public @NotBlank(message="Collection name is required") String getCollection() -
setCollection
-
isSplit
public boolean isSplit() -
setSplit
public void setSplit(boolean split) -
getUpdateExpression
-
setUpdateExpression
-