public class ScopeConverter extends AbstractPropertyEditorConverterSupport<org.apache.geode.cache.Scope>
AbstractPropertyEditorConverterSupport
,
Scope
Constructor and Description |
---|
ScopeConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.Scope |
convert(String source)
Converts the given String source into an instance of GemFire Scope.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public org.apache.geode.cache.Scope convert(String source)
source
- the String to convert into a GemFire Scope.IllegalArgumentException
- if the String is not a valid GemFire Scope.ScopeType.getScope(ScopeType)
,
ScopeType.valueOfIgnoreCase(String)
,
Scope.fromString(String)
,
AbstractPropertyEditorConverterSupport.assertConverted(String, Object, Class)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.