public class OrderPolicyConverter extends AbstractPropertyEditorConverterSupport<org.apache.geode.cache.wan.GatewaySender.OrderPolicy>
OrderPolicyConverter
class is a Spring Converter
and JavaBeans PropertyEditor
used to
convert a String
into an appropriate GatewaySender.OrderPolicy
enum.GatewaySender.OrderPolicy
,
AbstractPropertyEditorConverterSupport
,
OrderPolicyType
Constructor and Description |
---|
OrderPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.wan.GatewaySender.OrderPolicy |
convert(String source)
Converts the given String into a GemFire Gateway.OrderPolicy enum.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public org.apache.geode.cache.wan.GatewaySender.OrderPolicy convert(String source)
source
- the String to convert.IllegalArgumentException
- if the String is not a valid GemFire Gateway.OrderPolicy.OrderPolicyType.getOrderPolicy()
,
OrderPolicyType.valueOfIgnoreCase(String)
,
Gateway.OrderPolicy
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.