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

    Fields
    Modifier and Type
    Field
    Description
    private EasySetup
     
    private static ConfigurationSetup
     

    Fields inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup

    DEFAULT_FNAME, DEFAULT_NAME, DEFAULT_OVERRIDE_FNAME, PARAM_PLUGINS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the EASy-Producer setup.
    Returns the configuration instance, may read it the first time from a default "configuration.yml" file in the root folder of the containing jar.
    void
    setEasyProducer(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, setUploadFolder

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ConfigurationSetup

      public ConfigurationSetup()
      Creates an instance.
  • Method Details

    • getEasyProducer

      public EasySetup getEasyProducer()
      Returns the EASy-Producer setup.
      Returns:
      the setup
    • setEasyProducer

      public void setEasyProducer(EasySetup easyProducer)
      Returns the EASy-Producer setup. [snakyaml]
      Parameters:
      easyProducer - the storage setup
    • getSetup

      public static ConfigurationSetup 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