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