blob: 7300cbb9d4920e9cb8ac35f34677de11903aa774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package cz.crcs.ectester.common.cli;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
/**
* @author Jan Jancar johny@neuromancer.sk
*/
public class ParserOptions {
private CommandLineParser parser;
private Options options;
private String description;
public ParserOptions(CommandLineParser parser, Options options) {
this.parser = parser;
this.options = options;
}
public ParserOptions(CommandLineParser parser, Options options, String description) {
this(parser, options);
this.description = description;
}
public CommandLineParser getParser() {
return parser;
}
public Options getOptions() {
return options;
}
public String getDescription() {
return description;
}
}
|