Skip to content

Package: ServiceEventClientConfiguration

ServiceEventClientConfiguration

nameinstructionbranchcomplexitylinemethod
ServiceEventClientConfiguration(String, String, ServiceEventBusListener)
M: 12 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 5 C: 0
0%
M: 1 C: 0
0%
getAddress()
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%
getClientName()
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%
getEventListener()
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 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.commons.event;
14:
15: import org.eclipse.kapua.event.ServiceEventBusListener;
16:
17: public class ServiceEventClientConfiguration {
18:
19: private String address;
20: private String clientName;
21: private ServiceEventBusListener eventListener;
22:
23: public ServiceEventClientConfiguration(String address, String subscriberName, ServiceEventBusListener eventListener) {
24: this.address = address;
25: this.clientName = subscriberName;
26: this.eventListener = eventListener;
27: }
28:
29: public String getAddress() {
30: return address;
31: }
32:
33: public String getClientName() {
34: return clientName;
35: }
36:
37: public ServiceEventBusListener getEventListener() {
38: return eventListener;
39: }
40: }