Package: ManagementOperationNotificationFactoryImpl
ManagementOperationNotificationFactoryImpl
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ManagementOperationNotificationFactoryImpl() |
|
|
|
|
|
||||||||||||||||||||
clone(ManagementOperationNotification) |
|
|
|
|
|
||||||||||||||||||||
newCreator(KapuaId) |
|
|
|
|
|
||||||||||||||||||||
newEntity(KapuaId) |
|
|
|
|
|
||||||||||||||||||||
newListResult() |
|
|
|
|
|
||||||||||||||||||||
newQuery(KapuaId) |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2017, 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.management.registry.operation.notification.internal;
14:
15: import org.eclipse.kapua.locator.KapuaProvider;
16: import org.eclipse.kapua.model.id.KapuaId;
17: import org.eclipse.kapua.service.device.management.registry.operation.notification.ManagementOperationNotification;
18: import org.eclipse.kapua.service.device.management.registry.operation.notification.ManagementOperationNotificationCreator;
19: import org.eclipse.kapua.service.device.management.registry.operation.notification.ManagementOperationNotificationFactory;
20: import org.eclipse.kapua.service.device.management.registry.operation.notification.ManagementOperationNotificationListResult;
21: import org.eclipse.kapua.service.device.management.registry.operation.notification.ManagementOperationNotificationQuery;
22:
23: /**
24: * {@link ManagementOperationNotificationFactory} implementation.
25: *
26: * @since 1.0.0
27: */
28: @KapuaProvider
29: public class ManagementOperationNotificationFactoryImpl implements ManagementOperationNotificationFactory {
30:
31: @Override
32: public ManagementOperationNotification newEntity(KapuaId scopeId) {
33: return new ManagementOperationNotificationImpl(scopeId);
34: }
35:
36: @Override
37: public ManagementOperationNotificationCreator newCreator(KapuaId scopeId) {
38: return new ManagementOperationNotificationCreatorImpl(scopeId);
39: }
40:
41: @Override
42: public ManagementOperationNotificationQuery newQuery(KapuaId scopeId) {
43: return new ManagementOperationNotificationQueryImpl(scopeId);
44: }
45:
46: @Override
47: public ManagementOperationNotificationListResult newListResult() {
48: return new ManagementOperationNotificationListResultImpl();
49: }
50:
51: @Override
52: public ManagementOperationNotification clone(ManagementOperationNotification managementOperationNotification) {
53: return new ManagementOperationNotificationImpl(managementOperationNotification);
54: }
55: }