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