2 * Copyright (c) 2010-2023 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.minecraft.internal.message.data.commands;
16 * A command that targets a sign.
18 * @author Mattias Markehed - Initial contribution
20 public class SignCommandData {
22 public static final String COMMAND_SIGN_ACTIVE = "COMMAND_SIGN_ACTIVE";
25 private String signName;
28 public SignCommandData() {
31 public SignCommandData(String type, String signName, String value) {
33 this.signName = signName;
38 * Get the type of command.
40 * @return the type of command.
42 public String getType() {
47 * The name of the sign that the command targets.
49 * @return name of sign
51 public String getSignName() {
56 * The command value sent.
58 * @return command value.
60 public String getValue() {