]> git.basschouten.com Git - openhab-addons.git/blob
e9efe5733908b21e933570f15a5d6aa26f0e7161
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.minecraft.internal.config;
14
15 /**
16  * Configuration settings for a {@link org.openhab.binding.minecraft.internal.handler.MinecraftSignHandler}.
17  *
18  * @author Mattias Markehed - Initial contribution
19  */
20 public class SignConfig {
21     private String signName = "";
22
23     /**
24      * Get text of sign to monitor.
25      *
26      * @return sign text
27      */
28     public String getName() {
29         return signName;
30     }
31
32     /**
33      * Set the sign text to listen for.
34      *
35      * @param name sign text.
36      */
37     public void setName(String name) {
38         this.signName = name;
39     }
40 }