View Javadoc

1   package org.kuali.common.util.service;
2   
3   import java.io.File;
4   import java.util.List;
5   
6   public interface MySqlDumpService extends ExecService {
7   
8   	public static final String DEFAULT_EXECUTABLE = "mysqldump";
9   	public static final int DEFAULT_PORT = 3306;
10  	public static final String PREFIX_50013_DEFINER = "/*!50013 DEFINER=";
11  	public static final String SUFFIX_SQL_SECURITY_DEFINER = "SQL SECURITY DEFINER */";
12  	public static final String PREFIX_MYSQL_DUMP = "-- MySQL dump";
13  	public static final String PREFIX_MYSQL_HOST = "-- Host:";
14  	public static final String PREFIX_SERVER_VERSION = "-- Server version";
15  	public static final String PREFIX_DUMP_COMPLETED = "-- Dump completed";
16  
17  	void dump(MySqlDumpContext context);
18  
19  	void dump(String username, String password, String hostname, String database, File outputFile);
20  
21  	void dump(List<String> options, String database, File outputFile);
22  
23  }