public class InterestPolicyConverter extends AbstractPropertyEditorConverterSupport<com.gemstone.gemfire.cache.InterestPolicy>
AbstractPropertyEditorConverterSupport
,
InterestPolicy
Constructor and Description |
---|
InterestPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
com.gemstone.gemfire.cache.InterestPolicy |
convert(String source)
Converts the given String into a GemFire InterestPolicy value.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public com.gemstone.gemfire.cache.InterestPolicy convert(String source)
source
- the String value to convert into a GemFire InterestPolicy value.IllegalArgumentException
- if the String is not a valid GemFire InterestPolicy.InterestPolicyType.getInterestPolicy(InterestPolicyType)
,
InterestPolicyType.valueOfIgnoreCase(String)
,
AbstractPropertyEditorConverterSupport.assertConverted(String, Object, Class)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.