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 |
|
|
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 9 |
Complexity Density: 0.82 |
|
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 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
48 |
0
|
protected void configureTask() throws MojoExecutionException {... |
49 |
|
|
50 |
0
|
KualiTorqueSchemaDumpTask task = new KualiTorqueSchemaDumpTask(); |
51 |
0
|
setAntTask(task); |
52 |
0
|
super.configureTask(); |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public boolean isProcessTables() {... |
56 |
0
|
return processTables; |
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0
|
public void setProcessTables(boolean processTables) {... |
60 |
0
|
this.processTables = processTables; |
61 |
|
} |
62 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
0
|
public boolean isProcessViews() {... |
64 |
0
|
return processViews; |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public void setProcessViews(boolean processViews) {... |
68 |
0
|
this.processViews = processViews; |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0
|
public boolean isProcessSequences() {... |
72 |
0
|
return processSequences; |
73 |
|
} |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0
|
public void setProcessSequences(boolean processSequences) {... |
76 |
0
|
this.processSequences = processSequences; |
77 |
|
} |
78 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
0
|
public String getSchemaXMLFile() {... |
80 |
0
|
return schemaXMLFile; |
81 |
|
} |
82 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
0
|
public void setSchemaXMLFile(String schemaXMLFile) {... |
84 |
0
|
this.schemaXMLFile = schemaXMLFile; |
85 |
|
} |
86 |
|
|
87 |
|
} |