2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.neeo.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * Configuration used by {@link org.openhab.binding.neeo.internal.handler.NeeoRoomHandler}
21 * @author Tim Roberts - initial contribution
24 public class NeeoRoomConfig {
26 /** The NEEO room key */
28 private String roomKey;
30 /** The refresh polling (in seconds) */
31 private int refreshPolling;
33 /** Whether to exclude things */
34 private boolean excludeThings;
39 * @return the room key
42 public String getRoomKey() {
49 * @param roomKey the new room key
51 public void setRoomKey(String roomKey) {
52 this.roomKey = roomKey;
56 * Gets the refresh polling (in seconds)
58 * @return the refresh polling
60 public int getRefreshPolling() {
61 return refreshPolling;
65 * Set's the refresh polling
67 * @param refreshPolling the refresh polling
69 public void setRefreshPolling(int refreshPolling) {
70 this.refreshPolling = refreshPolling;
74 * Whether to exclude things or not
76 * @return true to exclude, false otherwise
78 public boolean isExcludeThings() {
83 * Sets whether to exclude things
85 * @param excludeThings true to exclude, false otherwise
87 public void setExcludeThings(boolean excludeThings) {
88 this.excludeThings = excludeThings;