Package: BundleResponseMessage
BundleResponseMessage
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BundleResponseMessage() |
|
|
|
|
|
||||||||||||||||||||
getResponseCode() |
|
|
|
|
|
||||||||||||||||||||
setResponseCode(KapuaResponseCode) |
|
|
|
|
|
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.bundle.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 bundle information response message.
21: */
22: public class BundleResponseMessage extends KapuaMessageImpl<BundleResponseChannel, BundleResponsePayload>
23: implements KapuaResponseMessage<BundleResponseChannel, BundleResponsePayload> {
24:
25: private static final long serialVersionUID = 1L;
26: private KapuaResponseCode responseCode;
27:
28: @Override
29: public KapuaResponseCode getResponseCode() {
30: return responseCode;
31: }
32:
33: @Override
34: public void setResponseCode(KapuaResponseCode responseCode) {
35: this.responseCode = responseCode;
36: }
37: }