Skip to content

Package: Descriptor

Descriptor

nameinstructionbranchcomplexitylinemethod
Descriptor(String)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%
getId()
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%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017, 2022 Red Hat Inc 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: * Red Hat Inc - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.kura.simulator.app;
14:
15: public class Descriptor {
16:
17: private final String id;
18:
19: public Descriptor(final String id) {
20: this.id = id;
21: }
22:
23: /**
24: * Get the ID of the application
25: *
26: * @return the application ID, must never return {@code null}
27: */
28: public String getId() {
29: return id;
30: }
31: }