001 package org.kuali.common.util.service;
002
003 import java.io.File;
004 import java.io.PrintStream;
005 import java.util.List;
006
007 import org.kuali.common.util.ignore.Ignore;
008
009 public class MySqlDumpContext {
010
011 List<Ignore> ignorers;
012 String executable = MySqlDumpService.DEFAULT_EXECUTABLE;
013 String username;
014 String password;
015 String hostname;
016 int port = MySqlDumpService.DEFAULT_PORT;
017 List<String> options;
018 String database;
019 List<String> tables;
020 File outputFile;
021 PrintStream out;
022
023 public String getUsername() {
024 return username;
025 }
026
027 public void setUsername(String username) {
028 this.username = username;
029 }
030
031 public String getPassword() {
032 return password;
033 }
034
035 public void setPassword(String password) {
036 this.password = password;
037 }
038
039 public String getHostname() {
040 return hostname;
041 }
042
043 public void setHostname(String hostname) {
044 this.hostname = hostname;
045 }
046
047 public String getDatabase() {
048 return database;
049 }
050
051 public void setDatabase(String database) {
052 this.database = database;
053 }
054
055 public File getOutputFile() {
056 return outputFile;
057 }
058
059 public void setOutputFile(File outputFile) {
060 this.outputFile = outputFile;
061 }
062
063 public String getExecutable() {
064 return executable;
065 }
066
067 public void setExecutable(String executable) {
068 this.executable = executable;
069 }
070
071 public int getPort() {
072 return port;
073 }
074
075 public void setPort(int port) {
076 this.port = port;
077 }
078
079 public List<String> getTables() {
080 return tables;
081 }
082
083 public void setTables(List<String> tables) {
084 this.tables = tables;
085 }
086
087 public List<String> getOptions() {
088 return options;
089 }
090
091 public void setOptions(List<String> options) {
092 this.options = options;
093 }
094
095 public PrintStream getOut() {
096 return out;
097 }
098
099 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 }