Skip to content

Package: DeviceEventType

DeviceEventType

nameinstructionbranchcomplexitylinemethod
static {...}
M: 194 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 20 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.registry;
14:
15: import org.eclipse.kapua.service.device.registry.event.DeviceEvent;
16:
17: /**
18: * {@link DeviceEvent} types.
19: *
20: * @since 1.0.0
21: *
22: */
23: public enum DeviceEventType {
24: /**
25: * Connected (network layer)
26: */
27: CONNECTED,
28: /**
29: * Birth
30: */
31: BIRTH,
32: /**
33: * Disconnected (network layer)
34: */
35: DC,
36: /**
37: * Disconnected
38: */
39: DISCONNECTED,
40: /**
41: * Missing (gthe device doesn't reply to the ping request from the broker)
42: */
43: MISSING,
44: /**
45: * Configuration component updated
46: */
47: CONF_COMP_UPDATED,
48: /**
49: * Configuration updated
50: */
51: CONF_UPDATED,
52: /**
53: * Configuration rollbacked
54: */
55: CONF_ROLLEDBACK,
56: /**
57: * Deploy package downloaded
58: */
59: DEPLOY_DOWNLOADED,
60: /**
61: * Deploy package installed
62: */
63: DEPLOY_INSTALLED,
64: /**
65: * Deploy package uninstalled
66: */
67: DEPLOY_UNINSTALLED,
68: /**
69: * Command executed
70: */
71: CMD_EXECUTED,
72: /**
73: * Applications updated
74: */
75: APPS_UPDATED,
76: /**
77: * Bundle started
78: */
79: BUNDLE_STARTED,
80: /**
81: * Bundle stopped
82: */
83: BUNDLE_STOPPED,
84: /**
85: * Device provisioned
86: */
87: PROVISIONED,
88: /**
89: * Certificate updated
90: */
91: CERTIFICATE_UPDATED,
92: /**
93: * Certificate revoked
94: */
95: CERTIFICATE_REVOKED,
96: /**
97: * Certificate update error
98: */
99: CERTIFICATE_UPDATE_ERROR
100: }