View Javadoc

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