Skip to content

Package: KapuaManagementEventChannel

KapuaManagementEventChannel

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 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.message.event;
14:
15: import org.eclipse.kapua.service.device.management.message.KapuaAppChannel;
16: import org.eclipse.kapua.service.device.management.message.KapuaEventChannel;
17:
18: import javax.xml.bind.annotation.XmlElement;
19:
20: /**
21: * Device event {@link KapuaAppChannel} definition.
22: *
23: * @since 2.0.0
24: */
25: public interface KapuaManagementEventChannel extends KapuaEventChannel {
26:
27:
28: /**
29: * Gets the device application name.
30: *
31: * @return The device application name.
32: * @since 2.0.0
33: */
34: @XmlElement(name = "appName")
35: String getAppName();
36:
37: /**
38: * Sets the device application name.
39: *
40: * @param appName The device application name.
41: * @since 2.0.0
42: */
43: void setAppName(String appName);
44:
45: /**
46: * Gets the device application version.
47: *
48: * @return The device application version.
49: * @since 2.0.0
50: */
51: @XmlElement(name = "appVersion")
52: String getAppVersion();
53:
54: /**
55: * Sets the device application version.
56: *
57: * @param appVersion The device application version.
58: * @since 2.0.0
59: */
60: void setAppVersion(String appVersion);
61:
62: /**
63: * Get the request resources
64: *
65: * @return
66: * @since 2.0.0
67: */
68: String[] getResources();
69:
70: /**
71: * Set the request resources
72: *
73: * @param resources
74: * @since 2.0.0
75: */
76: void setResources(String[] resources);
77: }