Class EvictionActionConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<EvictionAction>
org.springframework.data.gemfire.eviction.EvictionActionConverter
- All Implemented Interfaces:
PropertyEditor
,Converter<String,
EvictionAction>
The EvictionActionConverter class is a Spring Converter and JavaBeans PropertyEditor that converts
an Object value into an instance of GemFire EvictionAction.
- Since:
- 1.6.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts the given String into a GemFire EvictionAction value.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
-
EvictionActionConverter
public EvictionActionConverter()
-
-
Method Details
-
convert
Converts the given String into a GemFire EvictionAction value.- Parameters:
source
- the String to convert.- Returns:
- the GemFire EvictionAction value matching the given String.
- Throws:
IllegalArgumentException
- if the String could not be converted into an instance of GemFire EvictionAction.- See Also:
-