]> git.basschouten.com Git - openhab-addons.git/blob
f46ce95d2c2914444a917eeb4c59da82ad378969
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.pulseaudio.internal.items;
14
15 /**
16  * In order to add a {@link Sink} to the pulseaudio server you have to
17  * load a corresponding module. Current Module objects are needed to
18  * be able to remove sinks from the pulseaudio server.
19  *
20  * @author Tobias Bräutigam - Initial contribution
21  */
22 public class Module extends AbstractDeviceConfig {
23
24     private String argument;
25
26     public Module(int id, String name) {
27         super(id, name);
28     }
29
30     public String getArgument() {
31         return argument;
32     }
33
34     public void setArgument(String argument) {
35         this.argument = argument;
36     }
37
38     @Override
39     public String toString() {
40         return name;
41     }
42 }