Class EnvironmentSetup


  • public class EnvironmentSetup
    extends de.iip_ecosphere.platform.support.iip_aas.config.AbstractSetup
    Setup for the service environment.
    Author:
    Holger Eichelberger, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas  
      private boolean notifyServiceNull  
      private de.iip_ecosphere.platform.transport.connectors.TransportSetup transport  
      • Fields inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup

        DEFAULT_FNAME, DEFAULT_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup getAas()
      Returns the AAS setup.
      boolean getNotifyServiceNull()
      Returns whether some output shall be produced if a service to be registered is null or its id is null.
      de.iip_ecosphere.platform.transport.connectors.TransportSetup getTransport()
      Returns the transport setup.
      void setAas​(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
      Changes the AAS setup.
      void setAasSetup​(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
      Deprecated.
      use setAas(AasSetup) instead
      void setNotifyServiceNull​(boolean notifyServiceNull)
      Sets whether some output shall be produced if a service to be registered is null or its id is null.
      void setTransport​(de.iip_ecosphere.platform.transport.connectors.TransportSetup transport)
      Defines the transport 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

      • transport

        private de.iip_ecosphere.platform.transport.connectors.TransportSetup transport
      • aas

        private de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas
      • notifyServiceNull

        private boolean notifyServiceNull
    • Constructor Detail

      • EnvironmentSetup

        public EnvironmentSetup()
    • Method Detail

      • getTransport

        public de.iip_ecosphere.platform.transport.connectors.TransportSetup getTransport()
        Returns the transport setup.
        Returns:
        the transport setup
      • getAas

        public de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup getAas()
        Returns the AAS setup.
        Returns:
        the AAS setup
      • getNotifyServiceNull

        public boolean getNotifyServiceNull()
        Returns whether some output shall be produced if a service to be registered is null or its id is null.
        Returns:
        notify or not
      • setTransport

        public void setTransport​(de.iip_ecosphere.platform.transport.connectors.TransportSetup transport)
        Defines the transport setup.
        Parameters:
        transport - the transport setup
      • setAasSetup

        @Deprecated
        public void setAasSetup​(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
        Deprecated.
        use setAas(AasSetup) instead
        Changes the AAS setup.
        Parameters:
        aas - the AAS setup
      • setAas

        public void setAas​(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
        Changes the AAS setup.
        Parameters:
        aas - the AAS setup
      • setNotifyServiceNull

        public void setNotifyServiceNull​(boolean notifyServiceNull)
        Sets whether some output shall be produced if a service to be registered is null or its id is null.
        Parameters:
        notifyServiceNull - notify or not