Class PlatformAasClient
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
de.iip_ecosphere.platform.support.iip_aas.PlatformAasClient
- All Implemented Interfaces:
PlatformClient
Implemented client for platform nameplate operations.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a client instance based on a deployed IIP-AAS fromAasPartRegistrybased on thePlatformAassubmodel. -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.semanticId.SemanticIdResolutionResultResolves a semantic id.snapshotAas(String id) Snapshots the platform AAS if possible.Methods inherited from class de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
checkNotNull, checkString, clear, getOperation, getOperation, getProperty, getProperty, getPropertyStringValue, getSubmodel, requestRefresh
-
Constructor Details
-
PlatformAasClient
Creates a client instance based on a deployed IIP-AAS fromAasPartRegistrybased on thePlatformAassubmodel.- Throws:
IOException- if retrieving the IIP-AAS or the respective submodel fails
-
-
Method Details
-
snapshotAas
Description copied from interface:PlatformClientSnapshots the platform AAS if possible.- Specified by:
snapshotAasin interfacePlatformClient- Parameters:
id- an optional id to characterize the snapshot- Returns:
- the name of the written file
- Throws:
ExecutionException- if the snapshot cannot be created
-
resolveSemanticId
public de.iip_ecosphere.platform.support.semanticId.SemanticIdResolutionResult resolveSemanticId(String id) throws ExecutionException Description copied from interface:PlatformClientResolves a semantic id.- Specified by:
resolveSemanticIdin interfacePlatformClient- Parameters:
id- the id to be resolved- Returns:
- the resolved result or null
- Throws:
ExecutionException- if a serious (I/O) problem in the resolution occurs
-