1 | /** |
2 | * BSD-style license; for more info see http://xradar.sourceforge.net/license.html |
3 | */ |
4 | package org.sourceforge.xradar; |
5 | |
6 | /** |
7 | * |
8 | * <p>A simple Bean to hold any parameters the XRadar engines |
9 | * uses/requires.</p> |
10 | * |
11 | * @author Zahir Nuckchady, zahir.nu@gmail.com |
12 | * @author Romain PELISSE, belaran@gmail.com |
13 | * |
14 | */ |
15 | public class XRadarParameters { |
16 | |
17 | private boolean javadocEnabled = false; |
18 | private boolean debug; |
19 | private boolean offline = false; |
20 | |
21 | private String javadocRoot; |
22 | private String java2htmlRoot; |
23 | private String xradarConfig; |
24 | private String target; |
25 | private String classesDirectory; |
26 | private String properties; |
27 | |
28 | /** |
29 | * @return the javadocEnabled |
30 | */ |
31 | public boolean isJavadocEnabled() { |
32 | return javadocEnabled; |
33 | } |
34 | /** |
35 | * @param javadocEnabled the javadocEnabled to set |
36 | */ |
37 | public void setJavadocEnabled(boolean javadocEnabled) { |
38 | this.javadocEnabled = javadocEnabled; |
39 | } |
40 | /** |
41 | * @return the javadocRoot |
42 | */ |
43 | public String getJavadocRoot() { |
44 | return javadocRoot; |
45 | } |
46 | /** |
47 | * @param javadocRoot the javadocRoot to set |
48 | */ |
49 | public void setJavadocRoot(String javadocRoot) { |
50 | this.javadocRoot = javadocRoot; |
51 | } |
52 | /** |
53 | * @return the java2htmlRoot |
54 | */ |
55 | public String getJava2htmlRoot() { |
56 | return java2htmlRoot; |
57 | } |
58 | /** |
59 | * @param java2htmlRoot the java2htmlRoot to set |
60 | */ |
61 | public void setJava2htmlRoot(String java2htmlRoot) { |
62 | this.java2htmlRoot = java2htmlRoot; |
63 | } |
64 | /** |
65 | * @return the debug |
66 | */ |
67 | public boolean isDebug() { |
68 | return debug; |
69 | } |
70 | /** |
71 | * @param debug the debug to set |
72 | */ |
73 | public void setDebug(boolean debug) { |
74 | this.debug = debug; |
75 | } |
76 | /** |
77 | * @return the offline |
78 | */ |
79 | public boolean isOffline() { |
80 | return offline; |
81 | } |
82 | /** |
83 | * @param offline the offline to set |
84 | */ |
85 | public void setOffline(boolean offline) { |
86 | this.offline = offline; |
87 | } |
88 | /** |
89 | * @return the xradarConfig |
90 | */ |
91 | public String getXradarConfig() { |
92 | return xradarConfig; |
93 | } |
94 | /** |
95 | * @param xradarConfig the xradarConfig to set |
96 | */ |
97 | public void setXradarConfig(String xradarConfig) { |
98 | this.xradarConfig = xradarConfig; |
99 | } |
100 | /** |
101 | * @return the target |
102 | */ |
103 | public String getTarget() { |
104 | return target; |
105 | } |
106 | /** |
107 | * @param target the target to set |
108 | */ |
109 | public void setTarget(String target) { |
110 | this.target = target; |
111 | } |
112 | /** |
113 | * @return the classesDirectory |
114 | */ |
115 | public String getClassesDirectory() { |
116 | return classesDirectory; |
117 | } |
118 | /** |
119 | * @param classesDirectory the classesDirectory to set |
120 | */ |
121 | public void setClassesDirectory(String classesDirectory) { |
122 | this.classesDirectory = classesDirectory; |
123 | } |
124 | /** |
125 | * @return the properties |
126 | */ |
127 | public String getProperties() { |
128 | return properties; |
129 | } |
130 | /** |
131 | * @param properties the properties to set |
132 | */ |
133 | public void setProperties(String properties) { |
134 | this.properties = properties; |
135 | } |
136 | |
137 | |
138 | } |