Skip to content

Package: DeviceConnectionAttributes

DeviceConnectionAttributes

nameinstructionbranchcomplexitylinemethod
DeviceConnectionAttributes()
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) 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.connection;
14:
15: import org.eclipse.kapua.model.KapuaUpdatableEntityAttributes;
16:
17: /**
18: * Device connection query predicates.
19: *
20: * @since 1.0
21: */
22: public class DeviceConnectionAttributes extends KapuaUpdatableEntityAttributes {
23:
24: /**
25: * Client identifier
26: */
27: public static final String CLIENT_ID = "clientId";
28:
29: /**
30: * Connection status
31: */
32: public static final String STATUS = "status";
33:
34: /**
35: * Credentials mode
36: */
37: public static final String CREDENTIALS_MODE = "credentialsMode";
38:
39: /**
40: * Reserved user identifier
41: */
42: public static final String RESERVED_USER_ID = "reservedUserId";
43:
44: /**
45: * Last user identifier
46: */
47: public static final String USER_ID = "userId";
48:
49: /**
50: * Connection user coupling mode
51: */
52: public static final String USER_COUPLING_MODE = "userCouplingMode";
53:
54: /**
55: * Client IP
56: */
57: public static final String CLIENT_IP = "clientIp";
58:
59: /**
60: * Protocol
61: */
62: public static final String PROTOCOL = "protocol";
63: }