1 package org.apache.torque.mojo;
2
3 import org.apache.maven.plugin.MojoExecutionException;
4 import org.kuali.core.db.torque.KualiTorqueSchemaDumpTask;
5
6
7
8
9
10
11
12
13
14 public class ExportSchemaMojo extends ExportMojo {
15
16
17
18
19
20
21 private boolean processTables;
22
23
24
25
26
27
28 private boolean processViews;
29
30
31
32
33
34
35 private boolean processSequences;
36
37
38
39
40
41
42
43 private String schemaXMLFile;
44
45
46
47
48 protected void configureTask() throws MojoExecutionException {
49
50 KualiTorqueSchemaDumpTask task = new KualiTorqueSchemaDumpTask();
51 setAntTask(task);
52 super.configureTask();
53 }
54
55 public boolean isProcessTables() {
56 return processTables;
57 }
58
59 public void setProcessTables(boolean processTables) {
60 this.processTables = processTables;
61 }
62
63 public boolean isProcessViews() {
64 return processViews;
65 }
66
67 public void setProcessViews(boolean processViews) {
68 this.processViews = processViews;
69 }
70
71 public boolean isProcessSequences() {
72 return processSequences;
73 }
74
75 public void setProcessSequences(boolean processSequences) {
76 this.processSequences = processSequences;
77 }
78
79 public String getSchemaXMLFile() {
80 return schemaXMLFile;
81 }
82
83 public void setSchemaXMLFile(String schemaXMLFile) {
84 this.schemaXMLFile = schemaXMLFile;
85 }
86
87 }