public interface MessageMapperConfiguration
MessageMapper.| Modifier and Type | Interface and Description |
|---|---|
static interface |
MessageMapperConfiguration.Builder<T extends MessageMapperConfiguration>
Builder for
MessageMapperConfiguration instances to be used as a base for a more concrete builder. |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_BLACKLIST
The key of the mapper configuration which all mappers share:
A comma separated blacklist of content-types which shall not be handled by the mapper which is configured.
|
| Modifier and Type | Method and Description |
|---|---|
default Optional<String> |
findProperty(String propertyName)
Searches the configuration for a specific property.
|
default Collection<String> |
getContentTypeBlacklist()
Determines the content-type blacklist for this mapper configuration.
|
String |
getId() |
Map<String,String> |
getProperties()
Returns the configuration properties as Map.
|
default String |
getProperty(String propertyName)
Extracts a required property from the configuration and fails with an exception if missing.
|
static final String CONTENT_TYPE_BLACKLIST
String getId()
Map<String,String> getProperties()
default Optional<String> findProperty(String propertyName)
propertyName - the property name.default String getProperty(String propertyName)
propertyName - the property name.org.eclipse.ditto.model.connectivity.MessageMapperConfigurationInvalidException - if no value for the the requested property name is presentdefault Collection<String> getContentTypeBlacklist()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.