Class InterestResultPolicyConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<InterestResultPolicy>
org.springframework.data.gemfire.client.InterestResultPolicyConverter
- All Implemented Interfaces:
PropertyEditor
,Converter<String,
InterestResultPolicy>
public class InterestResultPolicyConverter
extends AbstractPropertyEditorConverterSupport<InterestResultPolicy>
The InterestResultPolicyConverter class is a Spring Converter and JavaBeans PropertyEditor capable of converting
a String into a GemFire InterestResultPolicyConverter.
- Since:
- 1.6.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts the given String into an instance of GemFire InterestResultPolicy.Methods inherited from class org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport
assertConverted, setAsText
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
InterestResultPolicyConverter
public InterestResultPolicyConverter()
-
-
Method Details
-
convert
Converts the given String into an instance of GemFire InterestResultPolicy.- Parameters:
source
- the String to convert into an InterestResultPolicy value.- Returns:
- a GemFire InterestResultPolicy value for the given String.
- Throws:
IllegalArgumentException
- if the String is not a valid GemFire InterestResultPolicy.- See Also:
-