Class ExpirationActionConverter

java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<org.apache.geode.cache.ExpirationAction>
org.springframework.data.gemfire.expiration.ExpirationActionConverter
All Implemented Interfaces:
PropertyEditor, org.springframework.core.convert.converter.Converter<String,org.apache.geode.cache.ExpirationAction>

public class ExpirationActionConverter extends AbstractPropertyEditorConverterSupport<org.apache.geode.cache.ExpirationAction>
The ExpirationActionTypeConverter class is a Spring Converter used to convert a String value into a corresponding ExpirationActionType enumerated value.
Since:
1.6.0
See Also:
  • Constructor Details

    • ExpirationActionConverter

      public ExpirationActionConverter()
  • Method Details

    • convert

      public org.apache.geode.cache.ExpirationAction convert(String source)
      Converts the given String into an appropriate GemFire ExpirationAction.
      Parameters:
      source - the String to convert into an GemFire ExpirationAction.
      Returns:
      an GemFire ExpirationAction value for the given String.
      Throws:
      IllegalArgumentException - if the String is not a valid GemFire ExpirationAction.
      See Also: