Class DataPolicyConverter

java.lang.Object
org.springframework.data.gemfire.DataPolicyConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.apache.geode.cache.DataPolicy>

public class DataPolicyConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.apache.geode.cache.DataPolicy>
The DataPolicyConverter class converts String values into GemFire DataPolicy enumerated values.
See Also:
  • Converter
  • DataPolicy
  • Constructor Details

    • DataPolicyConverter

      public DataPolicyConverter()
  • Method Details

    • convert

      public org.apache.geode.cache.DataPolicy convert(String policyValue)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,org.apache.geode.cache.DataPolicy>