Class ConfigurationSetup
java.lang.Object
de.iip_ecosphere.platform.support.setup.AbstractSetup
de.iip_ecosphere.platform.configuration.cfg.ConfigurationSetup
de.iip_ecosphere.platform.configuration.easyProducer.ConfigurationSetup
public class ConfigurationSetup
extends de.iip_ecosphere.platform.configuration.cfg.ConfigurationSetup
The setup for the configuration component. As there are also EASy-Producer configuration classes with different
meaning, we did not call this class "Configuration" or "ConfigurationConfiguration".
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsFields inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup
DEFAULT_FNAME, DEFAULT_NAME, DEFAULT_OVERRIDE_FNAME, PARAM_PLUGINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the EASy-Producer setup.static ConfigurationSetupgetSetup()Returns the configuration instance, may read it the first time from a default "configuration.yml" file in the root folder of the containing jar.voidsetEasyProducer(EasySetup easyProducer) Returns the EASy-Producer setup.Methods inherited from class de.iip_ecosphere.platform.configuration.cfg.ConfigurationSetup
getArtifactsFolder, getArtifactsUriPrefix, getContainerImageStorage, getServiceArtifactStorage, getUploadFolder, setArtifactsFolder, setArtifactsUriPrefix, setContainerImageStorage, setServiceArtifactStorage, setUploadFolderMethods inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup
getDefaultFileName, getPluginsFolder, isNotEmpty, readFromYaml, readFromYaml, readFromYaml, readFromYaml, readFromYaml, readFromYamlWithPath, readFromYamlWithPath, readFromYamlWithPath, readFromYamlWithPath, readMappingFromYaml, readMappingFromYaml, setDefaultFileName, setPluginsFolder, setPluginsFolderFile
-
Field Details
-
instance
-
easyProducer
-
-
Constructor Details
-
ConfigurationSetup
public ConfigurationSetup()Creates an instance.
-
-
Method Details
-
getEasyProducer
Returns the EASy-Producer setup.- Returns:
- the setup
-
setEasyProducer
Returns the EASy-Producer setup. [snakyaml]- Parameters:
easyProducer- the storage setup
-
getSetup
Returns the configuration instance, may read it the first time from a default "configuration.yml" file in the root folder of the containing jar.- Returns:
- the configuration instance
-