org.kuali.common.util.service
Class DefaultMySqlDumpService
java.lang.Object
   org.kuali.common.util.service.DefaultExecService
org.kuali.common.util.service.DefaultExecService
       org.kuali.common.util.service.DefaultMySqlDumpService
org.kuali.common.util.service.DefaultMySqlDumpService
- All Implemented Interfaces: 
- ExecService, MySqlDumpService
- public class DefaultMySqlDumpService 
- extends DefaultExecService- implements MySqlDumpService
 
 
 
| Method Summary | 
| protected  void | afterDump(MySqlDumpContext context,
                   long elapsed,
                   long lineCount,
                   long skippedCount)
 | 
| protected  void | beforeDump(MySqlDumpContext context)
 | 
| protected  void | dump(DefaultExecContext context,
         MySqlDumpContext msdc)
 | 
|  void | dump(List<String> options,
         String database,
         File outputFile)
 | 
|  void | dump(MySqlDumpContext context)
 | 
|  void | dump(String username,
         String password,
         String hostname,
         String database,
         File outputFile)
 | 
| protected  void | fillInOptions(MySqlDumpContext context)Create (or update) the list of options for this context
 | 
| protected  List<String> | getArgs(MySqlDumpContext context)
 mysqldumpinvocation looks like this: | 
| protected  DefaultExecContext | getExecContext(MySqlDumpContext context)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
DefaultMySqlDumpService
public DefaultMySqlDumpService()
dump
public void dump(String username,
                 String password,
                 String hostname,
                 String database,
                 File outputFile)
- 
- Specified by:
- dumpin interface- MySqlDumpService
 
- 
 
dump
public void dump(List<String> options,
                 String database,
                 File outputFile)
- 
- Specified by:
- dumpin interface- MySqlDumpService
 
- 
 
dump
public void dump(MySqlDumpContext context)
- 
- Specified by:
- dumpin interface- MySqlDumpService
 
- 
 
beforeDump
protected void beforeDump(MySqlDumpContext context)
- 
 
- 
 
dump
protected void dump(DefaultExecContext context,
                    MySqlDumpContext msdc)
- 
 
- 
 
afterDump
protected void afterDump(MySqlDumpContext context,
                         long elapsed,
                         long lineCount,
                         long skippedCount)
- 
 
- 
 
getExecContext
protected DefaultExecContext getExecContext(MySqlDumpContext context)
- 
 
- 
 
getArgs
protected List<String> getArgs(MySqlDumpContext context)
- mysqldumpinvocation looks like this:- 
 mysqldump [OPTIONS] database [tables]
  - 
 
- 
 
- 
 
fillInOptions
protected void fillInOptions(MySqlDumpContext context)
- Create (or update) the list of options for this context
 
- 
 
- 
 
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.