java.lang.Object
de.iip_ecosphere.platform.configuration.cfg.AasChanges

public class AasChanges extends Object
Records AAS changes to be applied, usually based on configuration changes.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<AasChange>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds an AAS change.
    void
    bindOperations(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
    Binds the AAS operations.
    void
    Clears all remaining AAS changes.
    Clears all remaining AAS changes.
    void
    setup(de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuilder smBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator, de.iip_ecosphere.platform.support.json.JsonResultWrapper.OperationCompletedListener completedListener)
    Called during AAS setup of the configuration component.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • AasChanges

      public AasChanges()
  • Method Details

    • setup

      public void setup(de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuilder smBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator, de.iip_ecosphere.platform.support.json.JsonResultWrapper.OperationCompletedListener completedListener)
      Called during AAS setup of the configuration component. Must be called before bindOperations(ProtocolServerBuilder)
      Parameters:
      smBuilder - the submodel builder where to map the configuration into
      iCreator - the invocables creator
      completedListener - to be called when AAS operations are completed
    • bindOperations

      public void bindOperations(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder)
      Binds the AAS operations. Must be called after setup(SubmodelBuilder, InvocablesCreator, OperationCompletedListener).
      Parameters:
      sBuilder - the server builder
    • clearAasChanges

      public void clearAasChanges()
      Clears all remaining AAS changes.
    • getAndClearAasChanges

      public Iterable<AasChange> getAndClearAasChanges()
      Clears all remaining AAS changes.
      Returns:
      the cleared AAS changes
    • addAasChange

      public void addAasChange(AasChange change)
      Adds an AAS change.
      Parameters:
      change - the change, ignored if null