Skip to content

Package: KuraBundleInfo

KuraBundleInfo

nameinstructionbranchcomplexitylinemethod
KuraBundleInfo()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getName()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getVersion()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
setName(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setVersion(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

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.call.kura.model.deploy;
14:
15: import javax.xml.bind.annotation.XmlAccessType;
16: import javax.xml.bind.annotation.XmlAccessorType;
17: import javax.xml.bind.annotation.XmlElement;
18: import javax.xml.bind.annotation.XmlRootElement;
19: import javax.xml.bind.annotation.XmlType;
20:
21: /**
22: * Kura bundle information.
23: *
24: * @since 1.0
25: *
26: */
27: @XmlRootElement(name = "bundleInfo")
28: @XmlAccessorType(XmlAccessType.FIELD)
29: @XmlType(propOrder = { "name", "version" })
30: public class KuraBundleInfo {
31:
32: @XmlElement(name = "name")
33: public String name;
34:
35: @XmlElement(name = "version")
36: public String version;
37:
38: /**
39: * Get the bundle name
40: *
41: * @return
42: */
43: public String getName() {
44: return name;
45: }
46:
47: /**
48: * Set the bundle name
49: *
50: * @param name
51: */
52: public void setName(String name) {
53: this.name = name;
54: }
55:
56: /**
57: * Get the bundle version
58: *
59: * @return
60: */
61: public String getVersion() {
62: return version;
63: }
64:
65: /**
66: * Set the bundle version
67: *
68: * @param version
69: */
70: public void setVersion(String version) {
71: this.version = version;
72: }
73: }