Class ConfigurationSetup


  • public class ConfigurationSetup
    extends de.iip_ecosphere.platform.support.setup.AbstractSetup
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationSetup()
      Creates an instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getContainerImageStorage()
      Returns the container image storage.
      EasySetup getEasyProducer()
      Returns the EASy-Producer setup.
      de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getServiceArtifactStorage()
      Returns the EASy-Producer setup.
      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.
      void setContainerImageStorage​(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage)
      Returns the setup for the global container image storage.
      void setEasyProducer​(EasySetup easyProducer)
      Returns the EASy-Producer setup.
      void setServiceArtifactStorage​(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage)
      Returns the EASy-Producer setup.
      • Methods inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup

        createYaml, isNotEmpty, readFromYaml, readFromYaml, readFromYaml
      • Methods inherited from class java.lang.Object

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

      • easyProducer

        private EasySetup easyProducer
      • serviceArtifactStorage

        private de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage
      • containerImageStorage

        private de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage
    • Constructor Detail

      • ConfigurationSetup

        public ConfigurationSetup()
        Creates an instance.
    • Method Detail

      • 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
      • getServiceArtifactStorage

        public de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getServiceArtifactStorage()
        Returns the EASy-Producer setup.
        Returns:
        the setup
      • setServiceArtifactStorage

        public void setServiceArtifactStorage​(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage)
        Returns the EASy-Producer setup. [snakyaml]
        Parameters:
        serviceArtifactStorage - the storage setup
      • getContainerImageStorage

        public de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getContainerImageStorage()
        Returns the container image storage.
        Returns:
        the setup
      • setContainerImageStorage

        public void setContainerImageStorage​(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage)
        Returns the setup for the global container image storage. [snakyaml]
        Parameters:
        containerImageStorage - the 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