public class EvictionPolicyConverter extends AbstractPropertyEditorConverterSupport<EvictionPolicyType>
EvictionPolicyType
,
AbstractPropertyEditorConverterSupport
Constructor and Description |
---|
EvictionPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
EvictionPolicyType |
convert(String source)
Converts the given String into a matching EvictionType.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public EvictionPolicyType convert(String source)
source
- the String value to convert into an EvictionType.IllegalArgumentException
- if the String value does not represent a valid EvictionType.EvictionPolicyType.valueOfIgnoreCase(String)
,
AbstractPropertyEditorConverterSupport.assertConverted(String, Object, Class)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.