Class DefaultWotConfig
java.lang.Object
org.eclipse.ditto.wot.integration.config.DefaultWotConfig
- All Implemented Interfaces:
WotConfig
This class is the default implementation of the WoT (Web of Things) config.
- Since:
- 2.4.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the cache configuration to apply for caching downloaded WoT Thing Models.Returns configuration for WoT TM (ThingModel) based creation of Things and Features.org.eclipse.ditto.base.service.config.http.HttpProxyConfigReturns configuration settings for the HTTP proxy to use for downloading WoT Thing Models.Returns configuration settings for WoT (Web of Things) integration regarding the Thing Description transformation from Thing Models.inthashCode()static DefaultWotConfigof(com.typesafe.config.Config config) Returns an instance of the thing config based on the settings of the specified Config.toString()
-
Method Details
-
of
Returns an instance of the thing config based on the settings of the specified Config.- Parameters:
config- is supposed to provide the settings of the thing config at "wot".- Returns:
- the instance.
- Throws:
org.eclipse.ditto.internal.utils.config.DittoConfigError- ifconfigis invalid.
-
getHttpProxyConfig
public org.eclipse.ditto.base.service.config.http.HttpProxyConfig getHttpProxyConfig()Description copied from interface:WotConfigReturns configuration settings for the HTTP proxy to use for downloading WoT Thing Models.- Specified by:
getHttpProxyConfigin interfaceWotConfig- Returns:
- configuration settings for the HTTP proxy.
-
getCacheConfig
Description copied from interface:WotConfigReturns the cache configuration to apply for caching downloaded WoT Thing Models.- Specified by:
getCacheConfigin interfaceWotConfig- Returns:
- the cache configuration to apply.
-
getToThingDescriptionConfig
Description copied from interface:WotConfigReturns configuration settings for WoT (Web of Things) integration regarding the Thing Description transformation from Thing Models.- Specified by:
getToThingDescriptionConfigin interfaceWotConfig- Returns:
- configuration regarding the Thing Description transformation from Thing Models.
-
getCreationConfig
Description copied from interface:WotConfigReturns configuration for WoT TM (ThingModel) based creation of Things and Features.- Specified by:
getCreationConfigin interfaceWotConfig- Returns:
- configuration for WoT TM (ThingModel) based creation of Things and Features.
-
equals
-
hashCode
public int hashCode() -
toString
-