Class AasChanges
java.lang.Object
de.iip_ecosphere.platform.configuration.cfg.AasChanges
Records AAS changes to be applied, usually based on configuration changes.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAasChange(AasChange change) Adds an AAS change.voidbindOperations(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder) Binds the AAS operations.voidClears all remaining AAS changes.Clears all remaining AAS changes.voidsetup(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.
-
Field Details
-
aasChanges
-
-
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 beforebindOperations(ProtocolServerBuilder)- Parameters:
smBuilder- the submodel builder where to map the configuration intoiCreator- the invocables creatorcompletedListener- 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 aftersetup(SubmodelBuilder, InvocablesCreator, OperationCompletedListener).- Parameters:
sBuilder- the server builder
-
clearAasChanges
public void clearAasChanges()Clears all remaining AAS changes. -
getAndClearAasChanges
Clears all remaining AAS changes.- Returns:
- the cleared AAS changes
-
addAasChange
Adds an AAS change.- Parameters:
change- the change, ignored if null
-