Class EnvironmentSetup
java.lang.Object
de.iip_ecosphere.platform.support.setup.AbstractSetup
de.iip_ecosphere.platform.services.environment.EnvironmentSetup
public class EnvironmentSetup
extends de.iip_ecosphere.platform.support.setup.AbstractSetup
Setup for the service environment.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetupprivate booleanprivate 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.booleanReturns 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.TransportSetupReturns the transport setup.voidsetAas(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas) Changes the AAS setup.voidsetAasSetup(de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasSetup aas) Deprecated.voidsetNotifyServiceNull(boolean notifyServiceNull) Sets whether some output shall be produced if a service to be registered is null or its id is null.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
-
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 Details
-
EnvironmentSetup
public EnvironmentSetup()
-
-
Method Details
-
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.usesetAas(AasSetup)insteadChanges 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
-
setAas(AasSetup)instead