1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.service;
17
18 import java.io.File;
19 import java.io.PrintStream;
20 import java.util.List;
21
22 import org.kuali.common.util.ignore.Ignore;
23
24 public class MySqlDumpContext {
25
26 List<Ignore> ignorers;
27 String executable = MySqlDumpService.DEFAULT_EXECUTABLE;
28 String username;
29 String password;
30 String hostname;
31 int port = MySqlDumpService.DEFAULT_PORT;
32 List<String> options;
33 String database;
34 List<String> tables;
35 File outputFile;
36 PrintStream out;
37
38 public String getUsername() {
39 return username;
40 }
41
42 public void setUsername(String username) {
43 this.username = username;
44 }
45
46 public String getPassword() {
47 return password;
48 }
49
50 public void setPassword(String password) {
51 this.password = password;
52 }
53
54 public String getHostname() {
55 return hostname;
56 }
57
58 public void setHostname(String hostname) {
59 this.hostname = hostname;
60 }
61
62 public String getDatabase() {
63 return database;
64 }
65
66 public void setDatabase(String database) {
67 this.database = database;
68 }
69
70 public File getOutputFile() {
71 return outputFile;
72 }
73
74 public void setOutputFile(File outputFile) {
75 this.outputFile = outputFile;
76 }
77
78 public String getExecutable() {
79 return executable;
80 }
81
82 public void setExecutable(String executable) {
83 this.executable = executable;
84 }
85
86 public int getPort() {
87 return port;
88 }
89
90 public void setPort(int port) {
91 this.port = port;
92 }
93
94 public List<String> getTables() {
95 return tables;
96 }
97
98 public void setTables(List<String> tables) {
99 this.tables = tables;
100 }
101
102 public List<String> getOptions() {
103 return options;
104 }
105
106 public void setOptions(List<String> options) {
107 this.options = options;
108 }
109
110 public PrintStream getOut() {
111 return out;
112 }
113
114 public void setOut(PrintStream out) {
115 this.out = out;
116 }
117
118 public List<Ignore> getIgnorers() {
119 return ignorers;
120 }
121
122 public void setIgnorers(List<Ignore> ignorers) {
123 this.ignorers = ignorers;
124 }
125
126 }