public class StartupPolicyConverter extends AbstractPropertyEditorConverterSupport<StartupPolicyType>
AbstractPropertyEditorConverterSupport
,
StartupPolicyType
Constructor and Description |
---|
StartupPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
StartupPolicyType |
convert(String source)
Converts the given String value into an appropriate StartupPolicyType enumerated value.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public StartupPolicyType convert(String source)
source
- the String to convert.IllegalArgumentException
- if the String is not a valid GatewayHub Startup Policy.StartupPolicyType.valueOfIgnoreCase(String)
,
AbstractPropertyEditorConverterSupport.assertConverted(String, Object, Class)