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