Skip to content

Package: ConfigurationResponseMessage

ConfigurationResponseMessage

nameinstructionbranchcomplexitylinemethod
ConfigurationResponseMessage()
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%
getResponseCode()
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%
setResponseCode(KapuaResponseCode)
M: 4 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) 2016, 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: * Red Hat Inc
12: *******************************************************************************/
13: package org.eclipse.kapua.service.device.management.configuration.message.internal;
14:
15: import org.eclipse.kapua.message.internal.KapuaMessageImpl;
16: import org.eclipse.kapua.service.device.management.message.response.KapuaResponseCode;
17: import org.eclipse.kapua.service.device.management.message.response.KapuaResponseMessage;
18:
19: /**
20: * Device configuration response message.
21: */
22: public class ConfigurationResponseMessage extends KapuaMessageImpl<ConfigurationResponseChannel, ConfigurationResponsePayload>
23: implements KapuaResponseMessage<ConfigurationResponseChannel, ConfigurationResponsePayload> {
24:
25: private static final long serialVersionUID = 1L;
26:
27: private KapuaResponseCode responseCode;
28:
29: @Override
30: public KapuaResponseCode getResponseCode() {
31: return responseCode;
32: }
33:
34: @Override
35: public void setResponseCode(KapuaResponseCode responseCode) {
36: this.responseCode = responseCode;
37: }
38: }