Package org.springframework.data.gemfire
Class IndexMaintenancePolicyConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<IndexMaintenancePolicyType>
org.springframework.data.gemfire.IndexMaintenancePolicyConverter
- All Implemented Interfaces:
PropertyEditor
,Converter<String,
IndexMaintenancePolicyType>
public class IndexMaintenancePolicyConverter
extends AbstractPropertyEditorConverterSupport<IndexMaintenancePolicyType>
The IndexMaintenanceTypeConverter class is a Spring Converter and JavaBeans PropertyEditor capable of converting
a String into a specific SDG IndexMaintenancePolicyType.
- Since:
- 1.6.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts the given String value into an appropriate IndexMaintenancePolicyType.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
-
IndexMaintenancePolicyConverter
public IndexMaintenancePolicyConverter()
-
-
Method Details
-
convert
Converts the given String value into an appropriate IndexMaintenancePolicyType.- Parameters:
source
- the String value to convert into a IndexMaintenancePolicyType.- Returns:
- an IndexMaintenancePolicyType converted from the given String value.
- Throws:
IllegalArgumentException
- if the String is not a valid IndexMaintenancePolicyType.- See Also:
-