Skip to content

Package: DeviceConfigurationEventPayload

DeviceConfigurationEventPayload

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.configuration.message.event;
14:
15: import org.eclipse.kapua.service.device.management.configuration.DeviceComponentConfiguration;
16: import org.eclipse.kapua.service.device.management.configuration.DeviceConfiguration;
17: import org.eclipse.kapua.service.device.management.message.event.KapuaManagementEventPayload;
18:
19: import java.util.List;
20:
21: /**
22: * {@link DeviceConfiguration} {@link KapuaManagementEventPayload} definition.
23: *
24: * @since 2.0.0
25: */
26: public interface DeviceConfigurationEventPayload extends KapuaManagementEventPayload {
27:
28: /**
29: * Gets the {@link List} of changed {@link DeviceComponentConfiguration}s
30: *
31: * @return The {@link List} of changed {@link DeviceComponentConfiguration}s
32: * @since 2.0.0
33: */
34: List<DeviceComponentConfiguration> getDeviceComponentConfigurations() throws Exception;
35:
36: /**
37: * Sets the {@link List} of changed {@link DeviceComponentConfiguration}s
38: *
39: * @param deviceComponentConfigurations The {@link List} of changed {@link DeviceComponentConfiguration}s
40: * @since 2.0.0
41: */
42: void setDeviceComponentConfigurations(List<DeviceComponentConfiguration> deviceComponentConfigurations) throws Exception;
43: }