1 16 17 package de.gulden.application.beautyj.ant; 18 19 import de.gulden.application.beautyj.BeautyJ; 20 import de.gulden.framework.amoda.model.option.Option; 21 import de.gulden.framework.amoda.generic.core.GenericApplication; 22 import de.gulden.framework.amoda.environment.ant.ANTTaskApplicationWrapper; 23 24 32 public class Task extends ANTTaskApplicationWrapper { 33 34 38 41 public GenericApplication createWrappedApplication() { 42 return new BeautyJ(); 43 } 44 45 48 public void setOutput_directory(String s) { 49 setOption("output-directory", s); 50 } 51 52 55 public void setD(String s) { 56 setOption("output-directory", s); 57 } 58 59 63 public void setSourclet(String s) { 64 setOption("sourclet", s); 65 } 66 67 70 public void setQuiet(String s) { 71 setOption("quiet", s); 72 } 73 74 77 public void setVerbose(String s) { 78 setOption("verbose", s); 79 } 80 81 84 public void setTest(String s) { 85 setOption("test", s); 86 } 87 88 90 public void setProperties(String s) { 91 setOption("properties", s); 92 } 93 94 97 public void setProject_name(String s) { 98 setOption("project.name", s); 99 } 100 101 104 public void setProject_version(String s) { 105 setOption("project.version", s); 106 } 107 108 112 public void setProject_date(String s) { 113 setOption("project.date", s); 114 } 115 116 119 public void setProject_description(String s) { 120 setOption("project.description", s); 121 } 122 123 126 public void setProject_headerfile(String s) { 127 setOption("project.headerfile", s); 128 } 129 130 133 public void setAuthor_name(String s) { 134 setOption("author.name", s); 135 } 136 137 140 public void setAuthor_email(String s) { 141 setOption("author.email", s); 142 } 143 144 147 public void setClass_remove_dummy(String s) { 148 setOption("class.remove.dummy", s); 149 } 150 151 154 public void setClass_remove_empty(String s) { 155 setOption("class.remove.empty", s); 156 } 157 158 161 public void setClass_remove_text(String s) { 162 setOption("class.remove.text", s); 163 } 164 165 168 public void setClass_create_dummy(String s) { 169 setOption("class.create.dummy", s); 170 } 171 172 175 public void setClass_create_text(String s) { 176 setOption("class.create.text", s); 177 } 178 179 182 public void setMethod_remove_dummy(String s) { 183 setOption("method.remove.dummy", s); 184 } 185 186 189 public void setMethod_remove_empty(String s) { 190 setOption("method.remove.empty", s); 191 } 192 193 196 public void setMethod_remove_text(String s) { 197 setOption("method.remove.text", s); 198 } 199 200 203 public void setMethod_create_dummy(String s) { 204 setOption("method.create.dummy", s); 205 } 206 207 210 public void setMethod_create_text(String s) { 211 setOption("method.create.text", s); 212 } 213 214 217 public void setField_remove_dummy(String s) { 218 setOption("field.remove.dummy", s); 219 } 220 221 224 public void setField_remove_empty(String s) { 225 setOption("field.remove.empty", s); 226 } 227 228 231 public void setField_remove_text(String s) { 232 setOption("field.remove.text", s); 233 } 234 235 238 public void setField_create_dummy(String s) { 239 setOption("field.create.dummy", s); 240 } 241 242 245 public void setField_create_text(String s) { 246 setOption("field.create.text", s); 247 } 248 249 252 public void setException_texts(String s) { 253 setOption("exception.texts", s); 254 } 255 256 260 public void setCode_braces_linebreak(String s) { 261 setOption("code.braces.linebreak", s); 262 } 263 264 268 public void setB(String s) { 269 setOption("code.braces.linebreak", s); 270 } 271 272 276 public void setCode_clean(String s) { 277 setOption("code.clean", s); 278 } 279 280 284 public void setC(String s) { 285 setOption("code.clean", s); 286 } 287 288 292 public void setCode_separators(String s) { 293 setOption("code.separators", s); 294 } 295 296 300 public void setCode_preserve_fields_order(String s) { 301 setOption("code.preserve.fields.order", s); 302 } 303 304 308 public void setCode_format(String s) { 309 setOption("code.format", s); 310 } 311 312 316 public void setF(String s) { 317 setOption("code.format", s); 318 } 319 320 324 public void setCode_indent_spaces(String s) { 325 setOption("code.indent.spaces", s); 326 } 327 328 332 public void setI(String s) { 333 setOption("code.indent.spaces", s); 334 } 335 336 340 public void setCode_qualify(String s) { 341 setOption("code.qualify", s); 342 } 343 344 348 public void setQ(String s) { 349 setOption("code.qualify", s); 350 } 351 352 356 public void setCode_qualify_auto(String s) { 357 setOption("code.qualify.auto", s); 358 } 359 360 363 public void setXml_in(String s) { 364 setOption("xml.in", s); 365 } 366 367 370 public void setXml_out(String s) { 371 setOption("xml.out", s); 372 } 373 374 377 public void setXml_validate(String s) { 378 setOption("xml.validate", s); 379 } 380 381 384 public void setXml_doctype(String s) { 385 setOption("xml.doctype", s); 386 } 387 388 } | Popular Tags |