Skip to content

Package: AccessRoleQueryImpl

AccessRoleQueryImpl

nameinstructionbranchcomplexitylinemethod
AccessRoleQueryImpl()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
AccessRoleQueryImpl(KapuaId)
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%

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.authorization.access.shiro;
14:
15: import org.eclipse.kapua.commons.model.query.AbstractKapuaQuery;
16: import org.eclipse.kapua.model.id.KapuaId;
17: import org.eclipse.kapua.service.authorization.access.AccessRoleQuery;
18:
19: /**
20: * {@link AccessRoleQuery} implementation.
21: *
22: * @since 1.0.0
23: */
24: public class AccessRoleQueryImpl extends AbstractKapuaQuery implements AccessRoleQuery {
25:
26: /**
27: * Constructor.
28: *
29: * @since 1.0.0
30: */
31: public AccessRoleQueryImpl() {
32: super();
33: }
34:
35: /**
36: * Constructor.
37: *
38: * @param scopeId The {@link #getScopeId()}.
39: * @since 1.0.0
40: */
41: public AccessRoleQueryImpl(KapuaId scopeId) {
42: this();
43: setScopeId(scopeId);
44: }
45: }