~ubuntu-branches/ubuntu/vivid/apgdiff/vivid

« back to all changes in this revision

Viewing changes to src/main/java/cz/startnet/utils/pgdiff/PgDiffFunctions.java

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2012-09-24 11:24:01 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120924112401-fvi3gsfcthb3bdst
Tags: 2.4-1
* New upstream version.
* Use 3.0 (quilt).
* Use README.md as upstream changelog file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
import cz.startnet.utils.pgdiff.schema.PgFunction;
9
9
import cz.startnet.utils.pgdiff.schema.PgSchema;
10
 
 
11
10
import java.io.PrintWriter;
12
11
 
13
12
/**
18
17
public class PgDiffFunctions {
19
18
 
20
19
    /**
21
 
     * Creates a new instance of PgDiffFunctions.
22
 
     */
23
 
    private PgDiffFunctions() {
24
 
    }
25
 
 
26
 
    /**
27
20
     * Outputs statements for new or modified functions.
28
21
     *
29
 
     * @param writer writer the output should be written to
30
 
     * @param arguments object containing arguments settings
31
 
     * @param oldSchema original schema
32
 
     * @param newSchema new schema
 
22
     * @param writer           writer the output should be written to
 
23
     * @param arguments        object containing arguments settings
 
24
     * @param oldSchema        original schema
 
25
     * @param newSchema        new schema
33
26
     * @param searchPathHelper search path helper
34
27
     */
35
28
    public static void createFunctions(final PrintWriter writer,
57
50
    /**
58
51
     * Outputs statements for dropping of functions that exist no more.
59
52
     *
60
 
     * @param writer writer the output should be written to
61
 
     * @param arguments object containing arguments settings
62
 
     * @param oldSchema original schema
63
 
     * @param newSchema new schema
 
53
     * @param writer           writer the output should be written to
 
54
     * @param arguments        object containing arguments settings
 
55
     * @param oldSchema        original schema
 
56
     * @param newSchema        new schema
64
57
     * @param searchPathHelper search path helper
65
58
     */
66
59
    public static void dropFunctions(final PrintWriter writer,
83
76
    /**
84
77
     * Outputs statements for function comments that have changed.
85
78
     *
86
 
     * @param writer writer
87
 
     * @param oldSchema old schema
88
 
     * @param newSchema new schema
 
79
     * @param writer           writer
 
80
     * @param oldSchema        old schema
 
81
     * @param newSchema        new schema
89
82
     * @param searchPathHelper search path helper
90
83
     */
91
84
    public static void alterComments(final PrintWriter writer,
156
149
            }
157
150
        }
158
151
    }
 
152
 
 
153
    /**
 
154
     * Creates a new instance of PgDiffFunctions.
 
155
     */
 
156
    private PgDiffFunctions() {
 
157
    }
159
158
}