Package io.github.webbasedwodt.config
Interface ConfigurationLoader
- All Known Implementing Classes:
EnvironmentConfigurationLoader
public interface ConfigurationLoader
This interface models the Configuration Loader for the Ditto WoDT Adapter.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the port to expose for the Digital Twin WoDT servicesGet the Digital Twin URI.Get the version of the exposed WoDT Digital Twin.Get the ditto observation endpoint.Get the ditto passwordGet the Ditto Thing ID.Get the ditto url.Get the ditto username.Get the associated Physical Asset ID.Get the Platform URI to register.Get the path of the YAML file that specifies the DT semantics.
-
Method Details
-
getDittoUrl
URI getDittoUrl()Get the ditto url.- Returns:
- the url.
-
getDittoObservationEndpoint
URI getDittoObservationEndpoint()Get the ditto observation endpoint.- Returns:
- the endpoint.
-
getDittoUsername
String getDittoUsername()Get the ditto username.- Returns:
- the ditto username
-
getDittoPassword
String getDittoPassword()Get the ditto password- Returns:
- the ditto password.
-
getDittoThingId
String getDittoThingId()Get the Ditto Thing ID.- Returns:
- the Thing ID.
-
getYamlOntologyPath
String getYamlOntologyPath()Get the path of the YAML file that specifies the DT semantics.- Returns:
- the file path
-
getPlatformUri
Get the Platform URI to register.- Returns:
- the URI.
-
getPhysicalAssetId
String getPhysicalAssetId()Get the associated Physical Asset ID.- Returns:
- the physical asset id
-
getDigitalTwinUri
URI getDigitalTwinUri()Get the Digital Twin URI.- Returns:
- the DT URI
-
getDigitalTwinExposedPort
int getDigitalTwinExposedPort()Get the port to expose for the Digital Twin WoDT services- Returns:
- the port to expose
-
getDigitalTwinVersion
String getDigitalTwinVersion()Get the version of the exposed WoDT Digital Twin.- Returns:
- the version.
-