Class AasDeviceFirmwareOperations
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.AasDeviceFirmwareOperations
- All Implemented Interfaces:
DeviceFirmwareOperations
A service provider implementation for
DeviceFirmwareOperations which
uses aas as the communication protocol. For this purpose it will notify the
DeviceManagementAas that a device needs an update.- Author:
- Dennis Pidun, University of Hildesheim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IntegergetHighestVersion(Storage storage, String runtimeName) Returns the highest version available instorage.voidupdateRuntime(String id) Update the runtime of the given device with the id.
-
Constructor Details
-
AasDeviceFirmwareOperations
public AasDeviceFirmwareOperations()
-
-
Method Details
-
updateRuntime
Description copied from interface:DeviceFirmwareOperationsUpdate the runtime of the given device with the id.- Specified by:
updateRuntimein interfaceDeviceFirmwareOperations- Parameters:
id- the id of the device- Throws:
ExecutionException- if the execution of this operation fails
-
getHighestVersion
Returns the highest version available instorage.- Parameters:
storage- the storageruntimeName- the runtime name- Returns:
- the highest version,
-1for none
-