public class ServiceTypeConverter extends AbstractRegistryObjectTypeConverter<ServiceType>
mapToSchemaElement
Constructor and Description |
---|
ServiceTypeConverter() |
ServiceTypeConverter(MapToSchemaElement<ServiceType> mapToSchemaElement) |
Modifier and Type | Method and Description |
---|---|
Optional<ServiceType> |
convert(Map<String,Object> map)
This method creates an ServiceType from the values in the provided map.
|
public ServiceTypeConverter(MapToSchemaElement<ServiceType> mapToSchemaElement)
public ServiceTypeConverter()
public Optional<ServiceType> convert(Map<String,Object> map)
SERVICE_BINDING_KEY = "ServiceBinding";
This will also try to populate the RegistryObjectType values also looked for in the map.
Uses: ServiceBindingTypeConverter
convert
in class AbstractRegistryObjectTypeConverter<ServiceType>
map
- the Map representation of the ServiceType to generate, null returns empty OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.