Class AasPartRegistry.AasBuildResult

java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.AasPartRegistry.AasBuildResult
Enclosing class:
AasPartRegistry

public static class AasPartRegistry.AasBuildResult extends Object
Represents the result of building the platform AAS.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<de.iip_ecosphere.platform.support.aas.Aas>
     
    private de.iip_ecosphere.platform.support.Server
     
    private de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    AasBuildResult(List<de.iip_ecosphere.platform.support.aas.Aas> aas, de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder, de.iip_ecosphere.platform.support.Server protocolServer)
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<de.iip_ecosphere.platform.support.aas.Aas>
    Returns the list of created AAS.
    de.iip_ecosphere.platform.support.Server
    Returns the protocol server instance.
    de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder
    Returns the protocol server builder instance.
    void
    stopProtocolServer(boolean dispose)
    Stops the protocol server.

    Methods inherited from class java.lang.Object

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

    • aas

      private List<de.iip_ecosphere.platform.support.aas.Aas> aas
    • sBuilder

      private de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder
    • protocolServer

      private de.iip_ecosphere.platform.support.Server protocolServer
  • Constructor Details

    • AasBuildResult

      private AasBuildResult(List<de.iip_ecosphere.platform.support.aas.Aas> aas, de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder, de.iip_ecosphere.platform.support.Server protocolServer)
      Creates an instance.
      Parameters:
      aas - the created AAS
      sBuilder - the server builder
      protocolServer - the protocol server instance (may be null if not started)
  • Method Details

    • getAas

      public List<de.iip_ecosphere.platform.support.aas.Aas> getAas()
      Returns the list of created AAS.
      Returns:
      the created AAS
    • getProtocolServerBuilder

      public de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder getProtocolServerBuilder()
      Returns the protocol server builder instance.
      Returns:
      the server builder instance
    • getProtocolServer

      public de.iip_ecosphere.platform.support.Server getProtocolServer()
      Returns the protocol server instance.
      Returns:
      the protocol server instance (may be null if not started)
    • stopProtocolServer

      public void stopProtocolServer(boolean dispose)
      Stops the protocol server. Ignored if there is none
      Parameters:
      dispose - whether resources shall be disposed