Package io.github.webbasedwodt.config
Class EnvironmentConfigurationLoader
java.lang.Object
io.github.webbasedwodt.config.EnvironmentConfigurationLoader
- All Implemented Interfaces:
- ConfigurationLoader
The Configuration Loader implementation based on Environment Variables.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintGet 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.
- 
Constructor Details- 
EnvironmentConfigurationLoaderpublic EnvironmentConfigurationLoader()Default constructor.
 
- 
- 
Method Details- 
getDittoUrlDescription copied from interface:ConfigurationLoaderGet the ditto url.- Specified by:
- getDittoUrlin interface- ConfigurationLoader
- Returns:
- the url.
 
- 
getDittoObservationEndpointDescription copied from interface:ConfigurationLoaderGet the ditto observation endpoint.- Specified by:
- getDittoObservationEndpointin interface- ConfigurationLoader
- Returns:
- the endpoint.
 
- 
getDittoUsernameDescription copied from interface:ConfigurationLoaderGet the ditto username.- Specified by:
- getDittoUsernamein interface- ConfigurationLoader
- Returns:
- the ditto username
 
- 
getDittoPasswordDescription copied from interface:ConfigurationLoaderGet the ditto password- Specified by:
- getDittoPasswordin interface- ConfigurationLoader
- Returns:
- the ditto password.
 
- 
getDittoThingIdDescription copied from interface:ConfigurationLoaderGet the Ditto Thing ID.- Specified by:
- getDittoThingIdin interface- ConfigurationLoader
- Returns:
- the Thing ID.
 
- 
getYamlOntologyPathDescription copied from interface:ConfigurationLoaderGet the path of the YAML file that specifies the DT semantics.- Specified by:
- getYamlOntologyPathin interface- ConfigurationLoader
- Returns:
- the file path
 
- 
getPlatformUriDescription copied from interface:ConfigurationLoaderGet the Platform URI to register.- Specified by:
- getPlatformUriin interface- ConfigurationLoader
- Returns:
- the URI.
 
- 
getPhysicalAssetIdDescription copied from interface:ConfigurationLoaderGet the associated Physical Asset ID.- Specified by:
- getPhysicalAssetIdin interface- ConfigurationLoader
- Returns:
- the physical asset id
 
- 
getDigitalTwinUriDescription copied from interface:ConfigurationLoaderGet the Digital Twin URI.- Specified by:
- getDigitalTwinUriin interface- ConfigurationLoader
- Returns:
- the DT URI
 
- 
getDigitalTwinExposedPortpublic int getDigitalTwinExposedPort()Description copied from interface:ConfigurationLoaderGet the port to expose for the Digital Twin WoDT services- Specified by:
- getDigitalTwinExposedPortin interface- ConfigurationLoader
- Returns:
- the port to expose
 
- 
getDigitalTwinVersionDescription copied from interface:ConfigurationLoaderGet the version of the exposed WoDT Digital Twin.- Specified by:
- getDigitalTwinVersionin interface- ConfigurationLoader
- Returns:
- the version.
 
 
-