org.kuali.common.util.service.MySqlDumpContext Maven / Gradle / Ivy
/**
* Copyright 2010-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.kuali.common.util.service;
import java.io.File;
import java.io.PrintStream;
import java.util.List;
import org.kuali.common.util.ignore.Ignore;
public class MySqlDumpContext {
List ignorers;
String executable = MySqlDumpService.DEFAULT_EXECUTABLE;
String username;
String password;
String hostname;
int port = MySqlDumpService.DEFAULT_PORT;
List options;
String database;
List tables;
File outputFile;
PrintStream out;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public String getDatabase() {
return database;
}
public void setDatabase(String database) {
this.database = database;
}
public File getOutputFile() {
return outputFile;
}
public void setOutputFile(File outputFile) {
this.outputFile = outputFile;
}
public String getExecutable() {
return executable;
}
public void setExecutable(String executable) {
this.executable = executable;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public List getTables() {
return tables;
}
public void setTables(List tables) {
this.tables = tables;
}
public List getOptions() {
return options;
}
public void setOptions(List options) {
this.options = options;
}
public PrintStream getOut() {
return out;
}
public void setOut(PrintStream out) {
this.out = out;
}
public List getIgnorers() {
return ignorers;
}
public void setIgnorers(List ignorers) {
this.ignorers = ignorers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy