Skip to content

Package: AbstractKuraAppsBirthMessage

AbstractKuraAppsBirthMessage

nameinstructionbranchcomplexitylinemethod
AbstractKuraAppsBirthMessage(AbstractKuraAppsBirthChannel, Date, AbstractKuraAppsBirthPayload)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2018, 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.call.message.kura.lifecycle;
14:
15: import org.eclipse.kapua.service.device.call.message.lifecycle.DeviceLifecycleMessage;
16:
17: import java.util.Date;
18:
19: /**
20: * {@code abstract} base class for {@link KuraAppsMessage} and {@link KuraBirthMessage}.
21: * <p>
22: * {@link KuraAppsMessage} and {@link KuraBirthMessage} have the same format.
23: *
24: * @since 1.0.0
25: */
26: public class AbstractKuraAppsBirthMessage<C extends AbstractKuraAppsBirthChannel, P extends AbstractKuraAppsBirthPayload> extends AbstractKuraLifecycleMessage<C, P> implements DeviceLifecycleMessage<C, P> {
27:
28: /**
29: * Constructor.
30: *
31: * @param channel The {@link AbstractKuraAppsBirthChannel}.
32: * @param timestamp The timestamp.
33: * @param payload The {@link AbstractKuraAppsBirthPayload}.
34: * @see org.eclipse.kapua.service.device.call.message.DeviceMessage
35: * @since 1.0.0
36: */
37: public AbstractKuraAppsBirthMessage(C channel, Date timestamp, P payload) {
38: super(channel, timestamp, payload);
39: }
40:
41: }