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
FieldsModifier and TypeFieldDescriptionprivate de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetupprivate static MonitoringSetupprivate de.iip_ecosphere.platform.transport.connectors.TransportSetupFields 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 TypeMethodDescriptionde.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetupgetAas()Returns the AAS setup.static MonitoringSetupReturns the setup instance.de.iip_ecosphere.platform.transport.connectors.TransportSetupReturns the transport setup.static MonitoringSetupReads aMonitoringSetupinstance fromAbstractSetup.DEFAULT_FNAMEin the root folder of the jar/classpath.voidsetAas(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas) Defines the AAS setup.voidsetTransport(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
-
Field Details
-
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
Reads aMonitoringSetupinstance fromAbstractSetup.DEFAULT_FNAMEin the root folder of the jar/classpath.- Returns:
- the configuration instance
- Throws:
IOException- See Also:
-
getInstance
Returns the setup instance.- Returns:
- the instance
-