Class StringToWriteConcernConverter

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 Details

    • StringToWriteConcernConverter

      public StringToWriteConcernConverter()
  • Method Details

    • convert

      public com.mongodb.WriteConcern convert(String source)
      Specified by:
      convert in interface Converter<String,com.mongodb.WriteConcern>