1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util.service;
17
18 import static org.kuali.common.util.service.MySqlDumpService.PREFIX_50013_DEFINER;
19 import static org.kuali.common.util.service.MySqlDumpService.SUFFIX_SQL_SECURITY_DEFINER;
20
21 import java.util.ArrayList;
22 import java.util.List;
23
24 import org.kuali.common.util.ignore.Ignore;
25 import org.kuali.common.util.ignore.PrefixSuffixIgnorer;
26 import org.kuali.common.util.ignore.StartsWithIgnorer;
27
28 public class MySqlDumpUtils {
29
30 public static List<Ignore> getDefaultIgnorers() {
31 List<Ignore> ignorers = new ArrayList<Ignore>();
32 ignorers.add(new PrefixSuffixIgnorer(PREFIX_50013_DEFINER, SUFFIX_SQL_SECURITY_DEFINER));
33 ignorers.add(new StartsWithIgnorer(MySqlDumpService.PREFIX_DUMP_COMPLETED));
34 ignorers.add(new StartsWithIgnorer(MySqlDumpService.PREFIX_MYSQL_DUMP));
35 ignorers.add(new StartsWithIgnorer(MySqlDumpService.PREFIX_MYSQL_HOST));
36 ignorers.add(new StartsWithIgnorer(MySqlDumpService.PREFIX_SERVER_VERSION));
37 return ignorers;
38 }
39
40 }