2 * Copyright (c) 2010-2020 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;
17 import org.openhab.binding.neeo.internal.handler.NeeoRoomHandler;
20 * THe configuration class for the room used by {@link NeeoRoomHandler}
22 * @author Tim Roberts - initial contribution
25 public class NeeoRoomConfig {
27 /** The NEEO room key */
29 private String roomKey;
31 /** The refresh polling (in seconds) */
32 private int refreshPolling;
34 /** Whether to exclude things */
35 private boolean excludeThings;
40 * @return the room key
43 public String getRoomKey() {
50 * @param roomKey the new room key
52 public void setRoomKey(String roomKey) {
53 this.roomKey = roomKey;
57 * Gets the refresh polling (in seconds)
59 * @return the refresh polling
61 public int getRefreshPolling() {
62 return refreshPolling;
66 * Set's the refresh polling
68 * @param refreshPolling the refresh polling
70 public void setRefreshPolling(int refreshPolling) {
71 this.refreshPolling = refreshPolling;
75 * Whether to exclude things or not
77 * @return true to exclude, false otherwise
79 public boolean isExcludeThings() {
84 * Sets whether to exclude things
86 * @param excludeThings true to exclude, false otherwise
88 public void setExcludeThings(boolean excludeThings) {
89 this.excludeThings = excludeThings;