Package: DevicePackageInstallOperationImpl
DevicePackageInstallOperationImpl
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DevicePackageInstallOperationImpl() |
|
|
|
|
|
||||||||||||||||||||
getId() |
|
|
|
|
|
||||||||||||||||||||
getName() |
|
|
|
|
|
||||||||||||||||||||
getStatus() |
|
|
|
|
|
||||||||||||||||||||
getVersion() |
|
|
|
|
|
||||||||||||||||||||
setId(KapuaId) |
|
|
|
|
|
||||||||||||||||||||
setName(String) |
|
|
|
|
|
||||||||||||||||||||
setStatus(DevicePackageInstallStatus) |
|
|
|
|
|
||||||||||||||||||||
setVersion(String) |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2016, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.service.device.management.packages.model.install.internal;
14:
15: import org.eclipse.kapua.model.id.KapuaId;
16: import org.eclipse.kapua.service.device.management.packages.model.install.DevicePackageInstallOperation;
17: import org.eclipse.kapua.service.device.management.packages.model.install.DevicePackageInstallStatus;
18:
19: /**
20: * {@link DevicePackageInstallOperation} implementation.
21: *
22: * @since 1.0.0
23: */
24: public class DevicePackageInstallOperationImpl implements DevicePackageInstallOperation {
25:
26: private KapuaId id;
27: private String name;
28: private String version;
29: private DevicePackageInstallStatus status;
30:
31: @Override
32: public KapuaId getId() {
33: return id;
34: }
35:
36: @Override
37: public void setId(KapuaId id) {
38: this.id = id;
39: }
40:
41: @Override
42: public String getName() {
43: return name;
44: }
45:
46: @Override
47: public void setName(String name) {
48: this.name = name;
49: }
50:
51: @Override
52: public String getVersion() {
53: return version;
54: }
55:
56: @Override
57: public void setVersion(String version) {
58: this.version = version;
59: }
60:
61: @Override
62: public DevicePackageInstallStatus getStatus() {
63: return status;
64: }
65:
66: @Override
67: public void setStatus(DevicePackageInstallStatus status) {
68: this.status = status;
69: }
70: }