Class MonitoringSetup

java.lang.Object
de.iip_ecosphere.platform.support.setup.AbstractSetup
de.iip_ecosphere.platform.monitoring.MonitoringSetup
All Implemented Interfaces:
de.iip_ecosphere.platform.support.setup.PluginsSetup

public class MonitoringSetup extends de.iip_ecosphere.platform.support.setup.AbstractSetup
Basic setup for monitoring.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup
     
    private static MonitoringSetup
     
    private de.iip_ecosphere.platform.transport.connectors.TransportSetup
     

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup
    Returns the AAS setup.
    Returns the setup instance.
    de.iip_ecosphere.platform.transport.connectors.TransportSetup
    Returns the transport setup.
    Reads a MonitoringSetup instance from AbstractSetup.DEFAULT_FNAME in the root folder of the jar/classpath.
    void
    setAas(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
    Defines the AAS setup.
    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

    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

    • instance

      private static MonitoringSetup instance
    • aas

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

      private de.iip_ecosphere.platform.transport.connectors.TransportSetup transport
  • Constructor Details

    • MonitoringSetup

      public MonitoringSetup()
  • Method Details

    • getAas

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

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

      public void setAas(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas)
      Defines the AAS setup. [snakeyaml]
      Parameters:
      aas - the AAS setup
    • setTransport

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

      public static MonitoringSetup readConfiguration() throws IOException
      Reads a MonitoringSetup instance from AbstractSetup.DEFAULT_FNAME in the root folder of the jar/classpath.
      Returns:
      the configuration instance
      Throws:
      IOException
      See Also:
      • AbstractSetup.readFromYaml(Class)
    • getInstance

      public static MonitoringSetup getInstance()
      Returns the setup instance.
      Returns:
      the instance