java/sql-dk/src/info/globalcode/sql/dk/configuration/TunnelDefinition.java
author František Kučera <franta-hg@frantovo.cz>
Sat, 15 Aug 2015 16:12:06 +0200
branchv_0
changeset 218 8e38caf43ca8
parent 203 504c4ba56d1c
permissions -rw-r--r--
SingleRecordFormatter: escape whitespace characters in the same way as in TabularFormatter
franta-hg@203
     1
/**
franta-hg@203
     2
 * SQL-DK
franta-hg@203
     3
 * Copyright © 2015 František Kučera (frantovo.cz)
franta-hg@203
     4
 *
franta-hg@203
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@203
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@203
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@203
     8
 * (at your option) any later version.
franta-hg@203
     9
 *
franta-hg@203
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@203
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@203
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@203
    13
 * GNU General Public License for more details.
franta-hg@203
    14
 *
franta-hg@203
    15
 * You should have received a copy of the GNU General Public License
franta-hg@203
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@203
    17
 */
franta-hg@203
    18
package info.globalcode.sql.dk.configuration;
franta-hg@203
    19
franta-hg@203
    20
import static info.globalcode.sql.dk.Xmlns.CONFIGURATION;
franta-hg@203
    21
import java.util.List;
franta-hg@203
    22
import javax.xml.bind.annotation.XmlElement;
franta-hg@203
    23
franta-hg@203
    24
/**
franta-hg@203
    25
 *
franta-hg@203
    26
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@203
    27
 */
franta-hg@203
    28
public class TunnelDefinition {
franta-hg@203
    29
franta-hg@203
    30
	private String command;
franta-hg@203
    31
	private List<CommandArgument> arguments;
franta-hg@203
    32
franta-hg@203
    33
	@XmlElement(name = "command", namespace = CONFIGURATION)
franta-hg@203
    34
	public String getCommand() {
franta-hg@203
    35
		return command;
franta-hg@203
    36
	}
franta-hg@203
    37
franta-hg@203
    38
	public void setCommand(String command) {
franta-hg@203
    39
		this.command = command;
franta-hg@203
    40
	}
franta-hg@203
    41
franta-hg@203
    42
	@XmlElement(name = "argument", namespace = CONFIGURATION)
franta-hg@203
    43
	public List<CommandArgument> getArguments() {
franta-hg@203
    44
		return arguments;
franta-hg@203
    45
	}
franta-hg@203
    46
franta-hg@203
    47
	public void setArguments(List<CommandArgument> arguments) {
franta-hg@203
    48
		this.arguments = arguments;
franta-hg@203
    49
	}
franta-hg@203
    50
franta-hg@203
    51
}