Spring Data for VMware GemFire
Class SubscriptionEvictionPolicyConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<SubscriptionEvictionPolicy>
org.springframework.data.gemfire.server.SubscriptionEvictionPolicyConverter
- All Implemented Interfaces:
PropertyEditor,org.springframework.core.convert.converter.Converter<String,SubscriptionEvictionPolicy>
public class SubscriptionEvictionPolicyConverter
extends AbstractPropertyEditorConverterSupport<SubscriptionEvictionPolicy>
The SubscriptionEvictionPolicyConverter class is a Spring Converter and JavaBeans PropertyEditor for converting
Strings into a SubscriptionEvictionPolicy enumerated value.
- Since:
- 1.6.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the given String into a SubscriptionEvictionPolicy enumerated value.Methods inherited from class org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport
assertConverted, setAsTextMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
SubscriptionEvictionPolicyConverter
public SubscriptionEvictionPolicyConverter()
-
-
Method Details
-
convert
Converts the given String into a SubscriptionEvictionPolicy enumerated value.- Parameters:
source- the String to convert into a SubscriptionEvictionPolicy enum.- Returns:
- a SubscriptionEvictionPolicy enumerated value for the given String.
- Throws:
IllegalArgumentException- if the String is a valid SubscriptionEvictionPolicy enumerated value.- See Also:
-