java.lang.Object
org.springframework.data.mongodb.config.StringToWriteConcernConverter
- All Implemented Interfaces:
Converter<String,com.mongodb.WriteConcern>
public class StringToWriteConcernConverter
extends Object
implements Converter<String,com.mongodb.WriteConcern>
Converter to create WriteConcern
instances from String representations.
- Author:
- Oliver Gierke
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
StringToWriteConcernConverter
public StringToWriteConcernConverter()
-
Method Details
-
convert
public com.mongodb.WriteConcern convert(String source)
- Specified by:
convert
in interface Converter<String,com.mongodb.WriteConcern>