Skip to content

Method: getRepoDirectoryRoot()

1: package de.fhdw.wtf.generator.transformer.clipper;
2:
3: /**
4: * Contains the configuration for the {@link ClipToFileTask}.
5: */
6: public class ClipperConfiguration {
7:         
8:         /**
9:          * The root directory where the clipped files should be written and where the clipper can read the files for
10:          * generation.
11:          */
12:         private final String repoDirectoryRoot;
13:         
14:         /**
15:          * The root directory of the java files.
16:          */
17:         private final String javaDirectoryRoot;
18:         
19:         /**
20:          * Constructor.
21:          *
22:          * @param repoDirectoryRoot
23:          * - the root directory of the clipper repository.
24:          * @param javaDirectoryRoot
25:          * - the directory for the input java files.
26:          */
27:         public ClipperConfiguration(final String repoDirectoryRoot, final String javaDirectoryRoot) {
28:                 this.repoDirectoryRoot = repoDirectoryRoot;
29:                 this.javaDirectoryRoot = javaDirectoryRoot;
30:         }
31:         
32:         /**
33:          * Returns the root directory of the clipper repository.
34:          *
35:          * @return - root directory of the clipper repository
36:          */
37:         public String getRepoDirectoryRoot() {
38:                 return this.repoDirectoryRoot;
39:         }
40:         
41:         /**
42:          * Returns the directory for the input java files.
43:          *
44:          * @return - directory for the input java files
45:          */
46:         public String getJavaDirectoryRoot() {
47:                 return this.javaDirectoryRoot;
48:         }
49:         
50: }