Class StubDeviceManagement
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.StubDeviceManagement
- All Implemented Interfaces:
de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperations,de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations,de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations
public class StubDeviceManagement
extends Object
implements de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperations, de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations, de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations
Stub Service Implementation for
DeviceManagement.- Author:
- Dennis Pidun, University of Hildesheim
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations
de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations.SSHConnectionDetails -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperationsprivate static de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperationsprivate static de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations.SSHConnectionDetailsestablishSsh(String id) (package private) static de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperationsCreates or gets the firmwareOperations mock.(package private) static de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperationsCreates or gets the remoteManagementOperations mock.(package private) static de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperationsCreates or gets the resourceConfigOperations mock.voidvoidupdateRuntime(String id)
-
Field Details
-
managementOperationsStub
private static de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations managementOperationsStub -
firmwareOperationsStub
private static de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperations firmwareOperationsStub -
resourceConfigOperationsStub
private static de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations resourceConfigOperationsStub
-
-
Constructor Details
-
StubDeviceManagement
public StubDeviceManagement()
-
-
Method Details
-
mockFirmwareOperations
static de.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperations mockFirmwareOperations()Creates or gets the firmwareOperations mock.- Returns:
- the mock
-
mockResourceConfigOperations
static de.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations mockResourceConfigOperations()Creates or gets the resourceConfigOperations mock.- Returns:
- the mock
-
mockRemoteManagementOperations
static de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations mockRemoteManagementOperations()Creates or gets the remoteManagementOperations mock.- Returns:
- the mock
-
updateRuntime
- Specified by:
updateRuntimein interfacede.iip_ecosphere.platform.deviceMgt.DeviceFirmwareOperations- Throws:
ExecutionException
-
establishSsh
public de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations.SSHConnectionDetails establishSsh(String id) throws ExecutionException - Specified by:
establishSshin interfacede.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations- Throws:
ExecutionException
-
setConfig
- Specified by:
setConfigin interfacede.iip_ecosphere.platform.deviceMgt.DeviceResourceConfigOperations- Throws:
ExecutionException
-