1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.migration.options;
17
18 public class SelectedOptions {
19 private SelectedPaths paths = new SelectedPaths();
20 private String environment = "development";
21 private String template;
22 private String idPattern;
23 private boolean force;
24 private boolean trace;
25 private String command;
26 private String params;
27 private boolean help;
28 private boolean quiet;
29 private boolean color;
30
31 public boolean isQuiet() {
32 return quiet;
33 }
34
35 public boolean hasColor() {
36 return color;
37 }
38
39 public void setColor(boolean color) {
40 this.color = color;
41 }
42
43 public void setQuiet(boolean quiet) {
44 this.quiet = quiet;
45 }
46
47 public SelectedPaths getPaths() {
48 return paths;
49 }
50
51 public String getEnvironment() {
52 return environment;
53 }
54
55 public void setEnvironment(String aEnvironment) {
56 environment = aEnvironment;
57 }
58
59 public String getTemplate() {
60 return template;
61 }
62
63 public void setTemplate(String aTemplate) {
64 template = aTemplate;
65 }
66
67 public String getIdPattern() {
68 return idPattern;
69 }
70
71 public void setIdPattern(String idPattern) {
72 this.idPattern = idPattern;
73 }
74
75 public boolean isForce() {
76 return force;
77 }
78
79 public void setForce(boolean aForce) {
80 force = aForce;
81 }
82
83 public boolean isTrace() {
84 return trace;
85 }
86
87 public void setTrace(boolean aTrace) {
88 trace = aTrace;
89 }
90
91 public String getCommand() {
92 return command;
93 }
94
95 public void setCommand(String aCommand) {
96 command = aCommand;
97 }
98
99 public String getParams() {
100 return params;
101 }
102
103 public void setParams(String aParams) {
104 params = aParams;
105 }
106
107 public boolean needsHelp() {
108 return help;
109 }
110
111 public void setHelp(boolean aHelp) {
112 help = aHelp;
113 }
114 }