1 | // SECTION-START[License Header] |
2 | // <editor-fold defaultstate="collapsed" desc=" Generated License "> |
3 | /* |
4 | * Java Object Management and Configuration |
5 | * Copyright (C) Christian Schulte, 2005-206 |
6 | * All rights reserved. |
7 | * |
8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted provided that the following conditions |
10 | * are met: |
11 | * |
12 | * o Redistributions of source code must retain the above copyright |
13 | * notice, this list of conditions and the following disclaimer. |
14 | * |
15 | * o Redistributions in binary form must reproduce the above copyright |
16 | * notice, this list of conditions and the following disclaimer in |
17 | * the documentation and/or other materials provided with the |
18 | * distribution. |
19 | * |
20 | * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
21 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
22 | * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, |
24 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
25 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
26 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
29 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | * |
31 | * $JOMC: AbstractJomcToolCommand.java 5010 2014-11-17 04:00:16Z schulte $ |
32 | * |
33 | */ |
34 | // </editor-fold> |
35 | // SECTION-END |
36 | package org.jomc.cli.commands; |
37 | |
38 | import java.io.File; |
39 | import java.net.MalformedURLException; |
40 | import java.net.URL; |
41 | import java.util.Locale; |
42 | import java.util.logging.Level; |
43 | import org.apache.commons.cli.CommandLine; |
44 | import org.apache.commons.lang.StringEscapeUtils; |
45 | import org.apache.commons.lang.StringUtils; |
46 | import org.jomc.model.Implementation; |
47 | import org.jomc.model.Module; |
48 | import org.jomc.model.Modules; |
49 | import org.jomc.model.Specification; |
50 | import org.jomc.model.modlet.ModelHelper; |
51 | import org.jomc.modlet.Model; |
52 | import org.jomc.tools.JomcTool; |
53 | |
54 | // SECTION-START[Documentation] |
55 | // <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> |
56 | /** |
57 | * JOMC ⁑ CLI ⁑ {@code JomcTool} based command implementation. |
58 | * |
59 | * <dl> |
60 | * <dt><b>Identifier:</b></dt><dd>JOMC ⁑ CLI ⁑ JomcTool Command</dd> |
61 | * <dt><b>Name:</b></dt><dd>JOMC ⁑ CLI ⁑ JomcTool Command</dd> |
62 | * <dt><b>Specifications:</b></dt> |
63 | * <dd>JOMC ⁑ CLI ⁑ Command @ 1.0</dd> |
64 | * <dt><b>Abstract:</b></dt><dd>Yes</dd> |
65 | * <dt><b>Final:</b></dt><dd>No</dd> |
66 | * <dt><b>Stateless:</b></dt><dd>No</dd> |
67 | * </dl> |
68 | * |
69 | * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 1.2 |
70 | * @version 1.8 |
71 | */ |
72 | // </editor-fold> |
73 | // SECTION-END |
74 | // SECTION-START[Annotations] |
75 | // <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> |
76 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
77 | // </editor-fold> |
78 | // SECTION-END |
79 | public abstract class AbstractJomcToolCommand extends AbstractModelCommand |
80 | { |
81 | // SECTION-START[Command] |
82 | // SECTION-END |
83 | // SECTION-START[AbstractJomcToolCommand] |
84 | |
85 | /** {@inheritDoc} */ |
86 | @Override |
87 | @SuppressWarnings( "deprecation" ) |
88 | protected void postExecuteCommand( final CommandLine commandLine ) throws CommandExecutionException |
89 | { |
90 | if ( commandLine == null ) |
91 | { |
92 | throw new NullPointerException( "commandLine" ); |
93 | } |
94 | |
95 | JomcTool.setDefaultTemplateProfile( null ); |
96 | |
97 | super.postExecuteCommand( commandLine ); |
98 | } |
99 | |
100 | /** |
101 | * Creates a new object for a given class name and type. |
102 | * |
103 | * @param className The name of the class to create an object of. |
104 | * @param type The class of the type of object to create. |
105 | * @param <T> The type of the object to create. |
106 | * |
107 | * @return A new instance of the class with name {@code className}. |
108 | * |
109 | * @throws NullPointerException if {@code className} or {@code type} is {@code null}. |
110 | * @throws CommandExecutionException if creating a new object fails. |
111 | */ |
112 | protected <T> T createObject( final String className, final Class<T> type ) throws CommandExecutionException |
113 | { |
114 | if ( className == null ) |
115 | { |
116 | throw new NullPointerException( "className" ); |
117 | } |
118 | if ( type == null ) |
119 | { |
120 | throw new NullPointerException( "type" ); |
121 | } |
122 | |
123 | try |
124 | { |
125 | return Class.forName( className ).asSubclass( type ).newInstance(); |
126 | } |
127 | catch ( final InstantiationException e ) |
128 | { |
129 | throw new CommandExecutionException( |
130 | this.getFailedCreatingObjectMessage( this.getLocale(), className ), e ); |
131 | |
132 | } |
133 | catch ( final IllegalAccessException e ) |
134 | { |
135 | throw new CommandExecutionException( |
136 | this.getFailedCreatingObjectMessage( this.getLocale(), className ), e ); |
137 | |
138 | } |
139 | catch ( final ClassNotFoundException e ) |
140 | { |
141 | throw new CommandExecutionException( |
142 | this.getFailedCreatingObjectMessage( this.getLocale(), className ), e ); |
143 | |
144 | } |
145 | catch ( final ClassCastException e ) |
146 | { |
147 | throw new CommandExecutionException( |
148 | this.getFailedCreatingObjectMessage( this.getLocale(), className ), e ); |
149 | |
150 | } |
151 | } |
152 | |
153 | /** |
154 | * Creates a new {@code JomcTool} object for a given class name and type. |
155 | * |
156 | * @param commandLine The {@code CommandLine} to configure the new {@code JomcTool} object with. |
157 | * @param className The name of the class to create an object of. |
158 | * @param type The class of the type of object to create. |
159 | * @param <T> The type of the object to create. |
160 | * |
161 | * @return A new instance of the class with name {@code className} configured using {@code commandLine}. |
162 | * |
163 | * @throws NullPointerException if {@code commandLine}, {@code className} or {@code type} is {@code null}. |
164 | * @throws CommandExecutionException if creating a new object fails. |
165 | * |
166 | * @see #createObject(java.lang.String, java.lang.Class) |
167 | */ |
168 | @SuppressWarnings( "deprecation" ) |
169 | protected <T extends JomcTool> T createJomcTool( final String className, final Class<T> type, |
170 | final CommandLine commandLine ) throws CommandExecutionException |
171 | { |
172 | if ( commandLine == null ) |
173 | { |
174 | throw new NullPointerException( "commandLine" ); |
175 | } |
176 | if ( className == null ) |
177 | { |
178 | throw new NullPointerException( "className" ); |
179 | } |
180 | if ( type == null ) |
181 | { |
182 | throw new NullPointerException( "type" ); |
183 | } |
184 | |
185 | final T tool = this.createObject( className, type ); |
186 | tool.setLogLevel( this.getLogLevel() ); |
187 | tool.setLocale( this.getLocale( commandLine ) ); |
188 | tool.getListeners().add( new JomcTool.Listener() |
189 | { |
190 | |
191 | @Override |
192 | public void onLog( final Level level, final String message, final Throwable throwable ) |
193 | { |
194 | super.onLog( level, message, throwable ); |
195 | log( level, message, throwable ); |
196 | } |
197 | |
198 | } ); |
199 | |
200 | if ( commandLine.hasOption( this.getTemplateEncodingOption().getOpt() ) ) |
201 | { |
202 | this.log( Level.WARNING, this.getDeprecatedOptionMessage( |
203 | this.getLocale(), this.getTemplateEncodingOption().getLongOpt(), |
204 | this.getDefaultTemplateEncodingOption().getLongOpt() ), null ); |
205 | |
206 | tool.setDefaultTemplateEncoding( commandLine.getOptionValue( |
207 | this.getTemplateEncodingOption().getOpt() ) ); |
208 | |
209 | } |
210 | else if ( commandLine.hasOption( this.getDefaultTemplateEncodingOption().getOpt() ) ) |
211 | { |
212 | tool.setDefaultTemplateEncoding( commandLine.getOptionValue( |
213 | this.getDefaultTemplateEncodingOption().getOpt() ) ); |
214 | |
215 | } |
216 | |
217 | if ( commandLine.hasOption( this.getDefaultTemplateProfileOption().getOpt() ) ) |
218 | { |
219 | tool.setDefaultTemplateProfile( |
220 | commandLine.getOptionValue( this.getDefaultTemplateProfileOption().getOpt() ) ); |
221 | |
222 | } |
223 | if ( commandLine.hasOption( this.getTemplateProfileOption().getOpt() ) ) |
224 | { |
225 | tool.setTemplateProfile( commandLine.getOptionValue( this.getTemplateProfileOption().getOpt() ) ); |
226 | } |
227 | if ( commandLine.hasOption( this.getTemplateLocationOption().getOpt() ) ) |
228 | { |
229 | try |
230 | { |
231 | tool.setTemplateLocation( |
232 | new URL( commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ) ); |
233 | |
234 | } |
235 | catch ( final MalformedURLException e ) |
236 | { |
237 | this.log( Level.FINER, null, e ); |
238 | |
239 | try |
240 | { |
241 | tool.setTemplateLocation( new File( |
242 | commandLine.getOptionValue( this.getTemplateLocationOption().getOpt() ) ).toURI().toURL() ); |
243 | |
244 | } |
245 | catch ( final MalformedURLException e2 ) |
246 | { |
247 | throw new CommandExecutionException( getExceptionMessage( e2 ), e2 ); |
248 | } |
249 | } |
250 | } |
251 | if ( commandLine.hasOption( this.getInputEncodingOption().getOpt() ) ) |
252 | { |
253 | tool.setInputEncoding( commandLine.getOptionValue( this.getInputEncodingOption().getOpt() ) ); |
254 | } |
255 | if ( commandLine.hasOption( this.getOutputEncodingOption().getOpt() ) ) |
256 | { |
257 | tool.setOutputEncoding( commandLine.getOptionValue( this.getOutputEncodingOption().getOpt() ) ); |
258 | } |
259 | if ( commandLine.hasOption( this.getIndentationStringOption().getOpt() ) ) |
260 | { |
261 | tool.setIndentation( StringEscapeUtils.unescapeJava( |
262 | commandLine.getOptionValue( this.getIndentationStringOption().getOpt() ) ) ); |
263 | |
264 | } |
265 | if ( commandLine.hasOption( this.getLineSeparatorOption().getOpt() ) ) |
266 | { |
267 | tool.setLineSeparator( StringEscapeUtils.unescapeJava( |
268 | commandLine.getOptionValue( this.getLineSeparatorOption().getOpt() ) ) ); |
269 | |
270 | } |
271 | |
272 | return tool; |
273 | } |
274 | |
275 | /** |
276 | * Gets the specification to process from a given model. |
277 | * |
278 | * @param commandLine The command line specifying the specification to process. |
279 | * @param model The model to get the specification to process from. |
280 | * |
281 | * @return The specification to process or {@code null}. |
282 | * |
283 | * @throws NullPointerException if {@code commandLine} or {@code model} is {@code null}. |
284 | */ |
285 | protected final Specification getSpecification( final CommandLine commandLine, final Model model ) |
286 | { |
287 | if ( commandLine == null ) |
288 | { |
289 | throw new NullPointerException( "commandLine" ); |
290 | } |
291 | if ( model == null ) |
292 | { |
293 | throw new NullPointerException( "model" ); |
294 | } |
295 | |
296 | Specification s = null; |
297 | |
298 | if ( commandLine.hasOption( this.getSpecificationOption().getOpt() ) ) |
299 | { |
300 | final String identifier = commandLine.getOptionValue( this.getSpecificationOption().getOpt() ); |
301 | final Modules modules = ModelHelper.getModules( model ); |
302 | |
303 | if ( modules != null ) |
304 | { |
305 | s = modules.getSpecification( identifier ); |
306 | } |
307 | |
308 | if ( s == null ) |
309 | { |
310 | this.log( Level.WARNING, this.getSpecificationNotFoundWarning( this.getLocale(), identifier ), null ); |
311 | } |
312 | } |
313 | |
314 | return s; |
315 | } |
316 | |
317 | /** |
318 | * Gets the implementation to process from a given model. |
319 | * |
320 | * @param commandLine The command line specifying the implementation to process. |
321 | * @param model The model to get the implementation to process from. |
322 | * |
323 | * @return The implementation to process or {@code null}. |
324 | * |
325 | * @throws NullPointerException if {@code commandLine} or {@code model} is {@code null}. |
326 | */ |
327 | protected final Implementation getImplementation( final CommandLine commandLine, final Model model ) |
328 | { |
329 | if ( commandLine == null ) |
330 | { |
331 | throw new NullPointerException( "commandLine" ); |
332 | } |
333 | if ( model == null ) |
334 | { |
335 | throw new NullPointerException( "model" ); |
336 | } |
337 | |
338 | Implementation i = null; |
339 | |
340 | if ( commandLine.hasOption( this.getImplementationOption().getOpt() ) ) |
341 | { |
342 | final String identifier = commandLine.getOptionValue( this.getImplementationOption().getOpt() ); |
343 | final Modules modules = ModelHelper.getModules( model ); |
344 | |
345 | if ( modules != null ) |
346 | { |
347 | i = modules.getImplementation( identifier ); |
348 | } |
349 | |
350 | if ( i == null ) |
351 | { |
352 | this.log( Level.WARNING, this.getImplementationNotFoundWarning( this.getLocale(), identifier ), null ); |
353 | } |
354 | } |
355 | |
356 | return i; |
357 | } |
358 | |
359 | /** |
360 | * Gets the module to process from a given model. |
361 | * |
362 | * @param commandLine The command line specifying the implementation to process. |
363 | * @param model The model to get the module to process from. |
364 | * |
365 | * @return The module to process or {@code null}. |
366 | * |
367 | * @throws NullPointerException if {@code model} is {@code null}. |
368 | */ |
369 | protected final Module getModule( final CommandLine commandLine, final Model model ) |
370 | { |
371 | if ( commandLine == null ) |
372 | { |
373 | throw new NullPointerException( "commandLine" ); |
374 | } |
375 | if ( model == null ) |
376 | { |
377 | throw new NullPointerException( "model" ); |
378 | } |
379 | |
380 | Module m = null; |
381 | |
382 | if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) ) |
383 | { |
384 | final String name = commandLine.getOptionValue( this.getModuleNameOption().getOpt() ); |
385 | final Modules modules = ModelHelper.getModules( model ); |
386 | |
387 | if ( modules != null ) |
388 | { |
389 | m = modules.getModule( name ); |
390 | } |
391 | |
392 | if ( m == null ) |
393 | { |
394 | this.log( Level.WARNING, this.getModuleNotFoundWarning( this.getLocale(), name ), null ); |
395 | } |
396 | } |
397 | |
398 | return m; |
399 | } |
400 | |
401 | /** |
402 | * Gets a flag indicating that all modules are requested to be processed. |
403 | * |
404 | * @param commandLine The command line to process. |
405 | * |
406 | * @return {@code true}, if processing of all modules is requested; {@code false}, else. |
407 | * |
408 | * @throws NullPointerException if {@code commandLine} is {@code null}. |
409 | * |
410 | * @see #getSpecification(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model) |
411 | * @see #getImplementation(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model) |
412 | * @see #getModule(org.apache.commons.cli.CommandLine, org.jomc.modlet.Model) |
413 | */ |
414 | protected final boolean isModulesProcessingRequested( final CommandLine commandLine ) |
415 | { |
416 | if ( commandLine == null ) |
417 | { |
418 | throw new NullPointerException( "commandLine" ); |
419 | } |
420 | |
421 | return !( commandLine.hasOption( this.getSpecificationOption().getOpt() ) |
422 | || commandLine.hasOption( this.getImplementationOption().getOpt() ) |
423 | || commandLine.hasOption( this.getModuleNameOption().getOpt() ) ); |
424 | |
425 | } |
426 | |
427 | /** |
428 | * Gets a locale from a command line. |
429 | * |
430 | * @param commandLine The command line to get a locale from. |
431 | * |
432 | * @return The locale from {@code commandLine} or {@code null}, if {@code commandLine} does not hold options |
433 | * specifying a locale. |
434 | */ |
435 | protected final Locale getLocale( final CommandLine commandLine ) |
436 | { |
437 | if ( commandLine == null ) |
438 | { |
439 | throw new NullPointerException( "commandLine" ); |
440 | } |
441 | |
442 | Locale locale = null; |
443 | |
444 | final String lc = commandLine.hasOption( this.getLanguageOption().getOpt() ) |
445 | ? commandLine.getOptionValue( this.getLanguageOption().getOpt() ) |
446 | : null; |
447 | |
448 | final String cc = commandLine.hasOption( this.getCountryOption().getOpt() ) |
449 | ? commandLine.getOptionValue( this.getCountryOption().getOpt() ) |
450 | : null; |
451 | |
452 | final String lv = commandLine.hasOption( this.getLocaleVariantOption().getOpt() ) |
453 | ? commandLine.getOptionValue( this.getLocaleVariantOption().getOpt() ) |
454 | : null; |
455 | |
456 | if ( lc != null || cc != null || lv != null ) |
457 | { |
458 | locale = new Locale( StringUtils.defaultString( lc ), |
459 | StringUtils.defaultString( cc ), |
460 | StringUtils.defaultString( lv ) ); |
461 | |
462 | } |
463 | |
464 | return locale; |
465 | } |
466 | |
467 | // SECTION-END |
468 | // SECTION-START[Constructors] |
469 | // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> |
470 | /** Creates a new {@code AbstractJomcToolCommand} instance. */ |
471 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
472 | public AbstractJomcToolCommand() |
473 | { |
474 | // SECTION-START[Default Constructor] |
475 | super(); |
476 | // SECTION-END |
477 | } |
478 | // </editor-fold> |
479 | // SECTION-END |
480 | // SECTION-START[Dependencies] |
481 | // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies "> |
482 | /** |
483 | * Gets the {@code <Classpath Option>} dependency. |
484 | * <p> |
485 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Classpath Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
486 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
487 | * </p> |
488 | * <dl> |
489 | * <dt><b>Final:</b></dt><dd>No</dd> |
490 | * </dl> |
491 | * @return The {@code <Classpath Option>} dependency. |
492 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
493 | */ |
494 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
495 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
496 | private org.apache.commons.cli.Option getClasspathOption() |
497 | { |
498 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Classpath Option" ); |
499 | assert _d != null : "'Classpath Option' dependency not found."; |
500 | return _d; |
501 | } |
502 | /** |
503 | * Gets the {@code <Country Option>} dependency. |
504 | * <p> |
505 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Country Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
506 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
507 | * </p> |
508 | * <dl> |
509 | * <dt><b>Final:</b></dt><dd>No</dd> |
510 | * </dl> |
511 | * @return The {@code <Country Option>} dependency. |
512 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
513 | */ |
514 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
515 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
516 | private org.apache.commons.cli.Option getCountryOption() |
517 | { |
518 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Country Option" ); |
519 | assert _d != null : "'Country Option' dependency not found."; |
520 | return _d; |
521 | } |
522 | /** |
523 | * Gets the {@code <Default Template Encoding Option>} dependency. |
524 | * <p> |
525 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Default Template Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
526 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
527 | * </p> |
528 | * <dl> |
529 | * <dt><b>Final:</b></dt><dd>No</dd> |
530 | * </dl> |
531 | * @return The {@code <Default Template Encoding Option>} dependency. |
532 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
533 | */ |
534 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
535 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
536 | private org.apache.commons.cli.Option getDefaultTemplateEncodingOption() |
537 | { |
538 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Default Template Encoding Option" ); |
539 | assert _d != null : "'Default Template Encoding Option' dependency not found."; |
540 | return _d; |
541 | } |
542 | /** |
543 | * Gets the {@code <Default Template Profile Option>} dependency. |
544 | * <p> |
545 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Default Template Profile Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
546 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
547 | * </p> |
548 | * <dl> |
549 | * <dt><b>Final:</b></dt><dd>No</dd> |
550 | * </dl> |
551 | * @return The {@code <Default Template Profile Option>} dependency. |
552 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
553 | */ |
554 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
555 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
556 | private org.apache.commons.cli.Option getDefaultTemplateProfileOption() |
557 | { |
558 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Default Template Profile Option" ); |
559 | assert _d != null : "'Default Template Profile Option' dependency not found."; |
560 | return _d; |
561 | } |
562 | /** |
563 | * Gets the {@code <Documents Option>} dependency. |
564 | * <p> |
565 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Documents Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
566 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
567 | * </p> |
568 | * <dl> |
569 | * <dt><b>Final:</b></dt><dd>No</dd> |
570 | * </dl> |
571 | * @return The {@code <Documents Option>} dependency. |
572 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
573 | */ |
574 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
575 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
576 | private org.apache.commons.cli.Option getDocumentsOption() |
577 | { |
578 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Documents Option" ); |
579 | assert _d != null : "'Documents Option' dependency not found."; |
580 | return _d; |
581 | } |
582 | /** |
583 | * Gets the {@code <Implementation Option>} dependency. |
584 | * <p> |
585 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Implementation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
586 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
587 | * </p> |
588 | * <dl> |
589 | * <dt><b>Final:</b></dt><dd>No</dd> |
590 | * </dl> |
591 | * @return The {@code <Implementation Option>} dependency. |
592 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
593 | */ |
594 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
595 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
596 | private org.apache.commons.cli.Option getImplementationOption() |
597 | { |
598 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Implementation Option" ); |
599 | assert _d != null : "'Implementation Option' dependency not found."; |
600 | return _d; |
601 | } |
602 | /** |
603 | * Gets the {@code <Indentation String Option>} dependency. |
604 | * <p> |
605 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Indentation String Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
606 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
607 | * </p> |
608 | * <dl> |
609 | * <dt><b>Final:</b></dt><dd>No</dd> |
610 | * </dl> |
611 | * @return The {@code <Indentation String Option>} dependency. |
612 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
613 | */ |
614 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
615 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
616 | private org.apache.commons.cli.Option getIndentationStringOption() |
617 | { |
618 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Indentation String Option" ); |
619 | assert _d != null : "'Indentation String Option' dependency not found."; |
620 | return _d; |
621 | } |
622 | /** |
623 | * Gets the {@code <Input Encoding Option>} dependency. |
624 | * <p> |
625 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Input Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
626 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
627 | * </p> |
628 | * <dl> |
629 | * <dt><b>Final:</b></dt><dd>No</dd> |
630 | * </dl> |
631 | * @return The {@code <Input Encoding Option>} dependency. |
632 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
633 | */ |
634 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
635 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
636 | private org.apache.commons.cli.Option getInputEncodingOption() |
637 | { |
638 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Input Encoding Option" ); |
639 | assert _d != null : "'Input Encoding Option' dependency not found."; |
640 | return _d; |
641 | } |
642 | /** |
643 | * Gets the {@code <Language Option>} dependency. |
644 | * <p> |
645 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Language Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
646 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
647 | * </p> |
648 | * <dl> |
649 | * <dt><b>Final:</b></dt><dd>No</dd> |
650 | * </dl> |
651 | * @return The {@code <Language Option>} dependency. |
652 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
653 | */ |
654 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
655 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
656 | private org.apache.commons.cli.Option getLanguageOption() |
657 | { |
658 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Language Option" ); |
659 | assert _d != null : "'Language Option' dependency not found."; |
660 | return _d; |
661 | } |
662 | /** |
663 | * Gets the {@code <Line Separator Option>} dependency. |
664 | * <p> |
665 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Line Separator Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
666 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
667 | * </p> |
668 | * <dl> |
669 | * <dt><b>Final:</b></dt><dd>No</dd> |
670 | * </dl> |
671 | * @return The {@code <Line Separator Option>} dependency. |
672 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
673 | */ |
674 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
675 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
676 | private org.apache.commons.cli.Option getLineSeparatorOption() |
677 | { |
678 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Line Separator Option" ); |
679 | assert _d != null : "'Line Separator Option' dependency not found."; |
680 | return _d; |
681 | } |
682 | /** |
683 | * Gets the {@code <Locale>} dependency. |
684 | * <p> |
685 | * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. |
686 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
687 | * </p> |
688 | * <dl> |
689 | * <dt><b>Final:</b></dt><dd>No</dd> |
690 | * </dl> |
691 | * @return The {@code <Locale>} dependency. |
692 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
693 | */ |
694 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
695 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
696 | private java.util.Locale getLocale() |
697 | { |
698 | final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); |
699 | assert _d != null : "'Locale' dependency not found."; |
700 | return _d; |
701 | } |
702 | /** |
703 | * Gets the {@code <Locale Variant Option>} dependency. |
704 | * <p> |
705 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Locale Variant Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
706 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
707 | * </p> |
708 | * <dl> |
709 | * <dt><b>Final:</b></dt><dd>No</dd> |
710 | * </dl> |
711 | * @return The {@code <Locale Variant Option>} dependency. |
712 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
713 | */ |
714 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
715 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
716 | private org.apache.commons.cli.Option getLocaleVariantOption() |
717 | { |
718 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale Variant Option" ); |
719 | assert _d != null : "'Locale Variant Option' dependency not found."; |
720 | return _d; |
721 | } |
722 | /** |
723 | * Gets the {@code <Model Context Factory Option>} dependency. |
724 | * <p> |
725 | * This method returns the {@code <JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
726 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
727 | * </p> |
728 | * <dl> |
729 | * <dt><b>Final:</b></dt><dd>No</dd> |
730 | * </dl> |
731 | * @return The {@code <Model Context Factory Option>} dependency. |
732 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
733 | */ |
734 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
735 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
736 | private org.apache.commons.cli.Option getModelContextFactoryOption() |
737 | { |
738 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Context Factory Option" ); |
739 | assert _d != null : "'Model Context Factory Option' dependency not found."; |
740 | return _d; |
741 | } |
742 | /** |
743 | * Gets the {@code <Model Option>} dependency. |
744 | * <p> |
745 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Model Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
746 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
747 | * </p> |
748 | * <dl> |
749 | * <dt><b>Final:</b></dt><dd>No</dd> |
750 | * </dl> |
751 | * @return The {@code <Model Option>} dependency. |
752 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
753 | */ |
754 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
755 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
756 | private org.apache.commons.cli.Option getModelOption() |
757 | { |
758 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Option" ); |
759 | assert _d != null : "'Model Option' dependency not found."; |
760 | return _d; |
761 | } |
762 | /** |
763 | * Gets the {@code <Modlet Location Option>} dependency. |
764 | * <p> |
765 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Modlet Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
766 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
767 | * </p> |
768 | * <dl> |
769 | * <dt><b>Final:</b></dt><dd>No</dd> |
770 | * </dl> |
771 | * @return The {@code <Modlet Location Option>} dependency. |
772 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
773 | */ |
774 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
775 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
776 | private org.apache.commons.cli.Option getModletLocationOption() |
777 | { |
778 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Location Option" ); |
779 | assert _d != null : "'Modlet Location Option' dependency not found."; |
780 | return _d; |
781 | } |
782 | /** |
783 | * Gets the {@code <Modlet Schema System Id Option>} dependency. |
784 | * <p> |
785 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Modlet Schema System Id Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
786 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
787 | * </p> |
788 | * <dl> |
789 | * <dt><b>Final:</b></dt><dd>No</dd> |
790 | * </dl> |
791 | * @return The {@code <Modlet Schema System Id Option>} dependency. |
792 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
793 | */ |
794 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
795 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
796 | private org.apache.commons.cli.Option getModletSchemaSystemIdOption() |
797 | { |
798 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Schema System Id Option" ); |
799 | assert _d != null : "'Modlet Schema System Id Option' dependency not found."; |
800 | return _d; |
801 | } |
802 | /** |
803 | * Gets the {@code <Module Location Option>} dependency. |
804 | * <p> |
805 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Module Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
806 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
807 | * </p> |
808 | * <dl> |
809 | * <dt><b>Final:</b></dt><dd>No</dd> |
810 | * </dl> |
811 | * @return The {@code <Module Location Option>} dependency. |
812 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
813 | */ |
814 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
815 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
816 | private org.apache.commons.cli.Option getModuleLocationOption() |
817 | { |
818 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Location Option" ); |
819 | assert _d != null : "'Module Location Option' dependency not found."; |
820 | return _d; |
821 | } |
822 | /** |
823 | * Gets the {@code <Module Name Option>} dependency. |
824 | * <p> |
825 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Module Name Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
826 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
827 | * </p> |
828 | * <dl> |
829 | * <dt><b>Final:</b></dt><dd>No</dd> |
830 | * </dl> |
831 | * @return The {@code <Module Name Option>} dependency. |
832 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
833 | */ |
834 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
835 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
836 | private org.apache.commons.cli.Option getModuleNameOption() |
837 | { |
838 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Name Option" ); |
839 | assert _d != null : "'Module Name Option' dependency not found."; |
840 | return _d; |
841 | } |
842 | /** |
843 | * Gets the {@code <No Classpath Resolution Option>} dependency. |
844 | * <p> |
845 | * This method returns the {@code <JOMC ⁑ CLI ⁑ No Classpath Resolution Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
846 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
847 | * </p> |
848 | * <dl> |
849 | * <dt><b>Final:</b></dt><dd>No</dd> |
850 | * </dl> |
851 | * @return The {@code <No Classpath Resolution Option>} dependency. |
852 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
853 | */ |
854 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
855 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
856 | private org.apache.commons.cli.Option getNoClasspathResolutionOption() |
857 | { |
858 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Classpath Resolution Option" ); |
859 | assert _d != null : "'No Classpath Resolution Option' dependency not found."; |
860 | return _d; |
861 | } |
862 | /** |
863 | * Gets the {@code <No Java Validation Option>} dependency. |
864 | * <p> |
865 | * This method returns the {@code <JOMC ⁑ CLI ⁑ No Java Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
866 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
867 | * </p> |
868 | * <dl> |
869 | * <dt><b>Final:</b></dt><dd>No</dd> |
870 | * </dl> |
871 | * @return The {@code <No Java Validation Option>} dependency. |
872 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
873 | */ |
874 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
875 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
876 | private org.apache.commons.cli.Option getNoJavaValidationOption() |
877 | { |
878 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Java Validation Option" ); |
879 | assert _d != null : "'No Java Validation Option' dependency not found."; |
880 | return _d; |
881 | } |
882 | /** |
883 | * Gets the {@code <No Model Processing Option>} dependency. |
884 | * <p> |
885 | * This method returns the {@code <JOMC ⁑ CLI ⁑ No Model Processing Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
886 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
887 | * </p> |
888 | * <dl> |
889 | * <dt><b>Final:</b></dt><dd>No</dd> |
890 | * </dl> |
891 | * @return The {@code <No Model Processing Option>} dependency. |
892 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
893 | */ |
894 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
895 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
896 | private org.apache.commons.cli.Option getNoModelProcessingOption() |
897 | { |
898 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Processing Option" ); |
899 | assert _d != null : "'No Model Processing Option' dependency not found."; |
900 | return _d; |
901 | } |
902 | /** |
903 | * Gets the {@code <No Model Resource Validation>} dependency. |
904 | * <p> |
905 | * This method returns the {@code <JOMC ⁑ CLI ⁑ No Model Resource Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
906 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
907 | * </p> |
908 | * <dl> |
909 | * <dt><b>Final:</b></dt><dd>No</dd> |
910 | * </dl> |
911 | * @return The {@code <No Model Resource Validation>} dependency. |
912 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
913 | */ |
914 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
915 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
916 | private org.apache.commons.cli.Option getNoModelResourceValidation() |
917 | { |
918 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Resource Validation" ); |
919 | assert _d != null : "'No Model Resource Validation' dependency not found."; |
920 | return _d; |
921 | } |
922 | /** |
923 | * Gets the {@code <No Modlet Resource Validation>} dependency. |
924 | * <p> |
925 | * This method returns the {@code <JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
926 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
927 | * </p> |
928 | * <dl> |
929 | * <dt><b>Final:</b></dt><dd>No</dd> |
930 | * </dl> |
931 | * @return The {@code <No Modlet Resource Validation>} dependency. |
932 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
933 | */ |
934 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
935 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
936 | private org.apache.commons.cli.Option getNoModletResourceValidation() |
937 | { |
938 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Modlet Resource Validation" ); |
939 | assert _d != null : "'No Modlet Resource Validation' dependency not found."; |
940 | return _d; |
941 | } |
942 | /** |
943 | * Gets the {@code <Output Encoding Option>} dependency. |
944 | * <p> |
945 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Output Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
946 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
947 | * </p> |
948 | * <dl> |
949 | * <dt><b>Final:</b></dt><dd>No</dd> |
950 | * </dl> |
951 | * @return The {@code <Output Encoding Option>} dependency. |
952 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
953 | */ |
954 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
955 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
956 | private org.apache.commons.cli.Option getOutputEncodingOption() |
957 | { |
958 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Output Encoding Option" ); |
959 | assert _d != null : "'Output Encoding Option' dependency not found."; |
960 | return _d; |
961 | } |
962 | /** |
963 | * Gets the {@code <Platform Provider Location Option>} dependency. |
964 | * <p> |
965 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Platform Provider Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
966 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
967 | * </p> |
968 | * <dl> |
969 | * <dt><b>Final:</b></dt><dd>No</dd> |
970 | * </dl> |
971 | * @return The {@code <Platform Provider Location Option>} dependency. |
972 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
973 | */ |
974 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
975 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
976 | private org.apache.commons.cli.Option getPlatformProviderLocationOption() |
977 | { |
978 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Platform Provider Location Option" ); |
979 | assert _d != null : "'Platform Provider Location Option' dependency not found."; |
980 | return _d; |
981 | } |
982 | /** |
983 | * Gets the {@code <Provider Location Option>} dependency. |
984 | * <p> |
985 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Provider Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
986 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
987 | * </p> |
988 | * <dl> |
989 | * <dt><b>Final:</b></dt><dd>No</dd> |
990 | * </dl> |
991 | * @return The {@code <Provider Location Option>} dependency. |
992 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
993 | */ |
994 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
995 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
996 | private org.apache.commons.cli.Option getProviderLocationOption() |
997 | { |
998 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" ); |
999 | assert _d != null : "'Provider Location Option' dependency not found."; |
1000 | return _d; |
1001 | } |
1002 | /** |
1003 | * Gets the {@code <Specification Option>} dependency. |
1004 | * <p> |
1005 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Specification Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
1006 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
1007 | * </p> |
1008 | * <dl> |
1009 | * <dt><b>Final:</b></dt><dd>No</dd> |
1010 | * </dl> |
1011 | * @return The {@code <Specification Option>} dependency. |
1012 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
1013 | */ |
1014 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1015 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1016 | private org.apache.commons.cli.Option getSpecificationOption() |
1017 | { |
1018 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Specification Option" ); |
1019 | assert _d != null : "'Specification Option' dependency not found."; |
1020 | return _d; |
1021 | } |
1022 | /** |
1023 | * Gets the {@code <Template Encoding Option>} dependency. |
1024 | * <p> |
1025 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Template Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
1026 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
1027 | * </p> |
1028 | * <dl> |
1029 | * <dt><b>Final:</b></dt><dd>No</dd> |
1030 | * </dl> |
1031 | * @return The {@code <Template Encoding Option>} dependency. |
1032 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
1033 | */ |
1034 | @Deprecated |
1035 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1036 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1037 | private org.apache.commons.cli.Option getTemplateEncodingOption() |
1038 | { |
1039 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Encoding Option" ); |
1040 | assert _d != null : "'Template Encoding Option' dependency not found."; |
1041 | return _d; |
1042 | } |
1043 | /** |
1044 | * Gets the {@code <Template Location Option>} dependency. |
1045 | * <p> |
1046 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Template Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
1047 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
1048 | * </p> |
1049 | * <dl> |
1050 | * <dt><b>Final:</b></dt><dd>No</dd> |
1051 | * </dl> |
1052 | * @return The {@code <Template Location Option>} dependency. |
1053 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
1054 | */ |
1055 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1056 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1057 | private org.apache.commons.cli.Option getTemplateLocationOption() |
1058 | { |
1059 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Location Option" ); |
1060 | assert _d != null : "'Template Location Option' dependency not found."; |
1061 | return _d; |
1062 | } |
1063 | /** |
1064 | * Gets the {@code <Template Profile Option>} dependency. |
1065 | * <p> |
1066 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Template Profile Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
1067 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
1068 | * </p> |
1069 | * <dl> |
1070 | * <dt><b>Final:</b></dt><dd>No</dd> |
1071 | * </dl> |
1072 | * @return The {@code <Template Profile Option>} dependency. |
1073 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
1074 | */ |
1075 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1076 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1077 | private org.apache.commons.cli.Option getTemplateProfileOption() |
1078 | { |
1079 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Template Profile Option" ); |
1080 | assert _d != null : "'Template Profile Option' dependency not found."; |
1081 | return _d; |
1082 | } |
1083 | /** |
1084 | * Gets the {@code <Transformer Location Option>} dependency. |
1085 | * <p> |
1086 | * This method returns the {@code <JOMC ⁑ CLI ⁑ Transformer Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. |
1087 | * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. |
1088 | * </p> |
1089 | * <dl> |
1090 | * <dt><b>Final:</b></dt><dd>No</dd> |
1091 | * </dl> |
1092 | * @return The {@code <Transformer Location Option>} dependency. |
1093 | * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. |
1094 | */ |
1095 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1096 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1097 | private org.apache.commons.cli.Option getTransformerLocationOption() |
1098 | { |
1099 | final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Transformer Location Option" ); |
1100 | assert _d != null : "'Transformer Location Option' dependency not found."; |
1101 | return _d; |
1102 | } |
1103 | // </editor-fold> |
1104 | // SECTION-END |
1105 | // SECTION-START[Properties] |
1106 | // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> |
1107 | /** |
1108 | * Gets the value of the {@code <Abbreviated Command Name>} property. |
1109 | * <p><dl> |
1110 | * <dt><b>Final:</b></dt><dd>No</dd> |
1111 | * </dl></p> |
1112 | * @return Abbreviated name of the command. |
1113 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1114 | */ |
1115 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1116 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1117 | private java.lang.String getAbbreviatedCommandName() |
1118 | { |
1119 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" ); |
1120 | assert _p != null : "'Abbreviated Command Name' property not found."; |
1121 | return _p; |
1122 | } |
1123 | /** |
1124 | * Gets the value of the {@code <Application Modlet>} property. |
1125 | * <p><dl> |
1126 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1127 | * </dl></p> |
1128 | * @return Name of the 'shaded' application modlet. |
1129 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1130 | */ |
1131 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1132 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1133 | private java.lang.String getApplicationModlet() |
1134 | { |
1135 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" ); |
1136 | assert _p != null : "'Application Modlet' property not found."; |
1137 | return _p; |
1138 | } |
1139 | /** |
1140 | * Gets the value of the {@code <Command Name>} property. |
1141 | * <p><dl> |
1142 | * <dt><b>Final:</b></dt><dd>No</dd> |
1143 | * </dl></p> |
1144 | * @return Name of the command. |
1145 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1146 | */ |
1147 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1148 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1149 | private java.lang.String getCommandName() |
1150 | { |
1151 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" ); |
1152 | assert _p != null : "'Command Name' property not found."; |
1153 | return _p; |
1154 | } |
1155 | /** |
1156 | * Gets the value of the {@code <Modlet Excludes>} property. |
1157 | * <p><dl> |
1158 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1159 | * </dl></p> |
1160 | * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. |
1161 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1162 | */ |
1163 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1164 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1165 | private java.lang.String getModletExcludes() |
1166 | { |
1167 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" ); |
1168 | assert _p != null : "'Modlet Excludes' property not found."; |
1169 | return _p; |
1170 | } |
1171 | /** |
1172 | * Gets the value of the {@code <Provider Excludes>} property. |
1173 | * <p><dl> |
1174 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1175 | * </dl></p> |
1176 | * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. |
1177 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1178 | */ |
1179 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1180 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1181 | private java.lang.String getProviderExcludes() |
1182 | { |
1183 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" ); |
1184 | assert _p != null : "'Provider Excludes' property not found."; |
1185 | return _p; |
1186 | } |
1187 | /** |
1188 | * Gets the value of the {@code <Schema Excludes>} property. |
1189 | * <p><dl> |
1190 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1191 | * </dl></p> |
1192 | * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. |
1193 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1194 | */ |
1195 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1196 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1197 | private java.lang.String getSchemaExcludes() |
1198 | { |
1199 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" ); |
1200 | assert _p != null : "'Schema Excludes' property not found."; |
1201 | return _p; |
1202 | } |
1203 | /** |
1204 | * Gets the value of the {@code <Service Excludes>} property. |
1205 | * <p><dl> |
1206 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1207 | * </dl></p> |
1208 | * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. |
1209 | * @throws org.jomc.ObjectManagementException if getting the property instance fails. |
1210 | */ |
1211 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1212 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1213 | private java.lang.String getServiceExcludes() |
1214 | { |
1215 | final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" ); |
1216 | assert _p != null : "'Service Excludes' property not found."; |
1217 | return _p; |
1218 | } |
1219 | // </editor-fold> |
1220 | // SECTION-END |
1221 | // SECTION-START[Messages] |
1222 | // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> |
1223 | /** |
1224 | * Gets the text of the {@code <Application Title>} message. |
1225 | * <p><dl> |
1226 | * <dt><b>Languages:</b></dt> |
1227 | * <dd>English (default)</dd> |
1228 | * <dt><b>Final:</b></dt><dd>No</dd> |
1229 | * </dl></p> |
1230 | * @param locale The locale of the message to return. |
1231 | * @return The text of the {@code <Application Title>} message for {@code locale}. |
1232 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1233 | */ |
1234 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1235 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1236 | private String getApplicationTitle( final java.util.Locale locale ) |
1237 | { |
1238 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale ); |
1239 | assert _m != null : "'Application Title' message not found."; |
1240 | return _m; |
1241 | } |
1242 | /** |
1243 | * Gets the text of the {@code <Cannot Process Message>} message. |
1244 | * <p><dl> |
1245 | * <dt><b>Languages:</b></dt> |
1246 | * <dd>English (default)</dd> |
1247 | * <dd>Deutsch</dd> |
1248 | * <dt><b>Final:</b></dt><dd>No</dd> |
1249 | * </dl></p> |
1250 | * @param locale The locale of the message to return. |
1251 | * @param itemInfo Format argument. |
1252 | * @param detailMessage Format argument. |
1253 | * @return The text of the {@code <Cannot Process Message>} message for {@code locale}. |
1254 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1255 | */ |
1256 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1257 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1258 | private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) |
1259 | { |
1260 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage ); |
1261 | assert _m != null : "'Cannot Process Message' message not found."; |
1262 | return _m; |
1263 | } |
1264 | /** |
1265 | * Gets the text of the {@code <Classpath Element Info>} message. |
1266 | * <p><dl> |
1267 | * <dt><b>Languages:</b></dt> |
1268 | * <dd>English (default)</dd> |
1269 | * <dd>Deutsch</dd> |
1270 | * <dt><b>Final:</b></dt><dd>No</dd> |
1271 | * </dl></p> |
1272 | * @param locale The locale of the message to return. |
1273 | * @param classpathElement Format argument. |
1274 | * @return The text of the {@code <Classpath Element Info>} message for {@code locale}. |
1275 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1276 | */ |
1277 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1278 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1279 | private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) |
1280 | { |
1281 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement ); |
1282 | assert _m != null : "'Classpath Element Info' message not found."; |
1283 | return _m; |
1284 | } |
1285 | /** |
1286 | * Gets the text of the {@code <Classpath Element Not Found Warning>} message. |
1287 | * <p><dl> |
1288 | * <dt><b>Languages:</b></dt> |
1289 | * <dd>English (default)</dd> |
1290 | * <dd>Deutsch</dd> |
1291 | * <dt><b>Final:</b></dt><dd>No</dd> |
1292 | * </dl></p> |
1293 | * @param locale The locale of the message to return. |
1294 | * @param fileName Format argument. |
1295 | * @return The text of the {@code <Classpath Element Not Found Warning>} message for {@code locale}. |
1296 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1297 | */ |
1298 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1299 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1300 | private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) |
1301 | { |
1302 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName ); |
1303 | assert _m != null : "'Classpath Element Not Found Warning' message not found."; |
1304 | return _m; |
1305 | } |
1306 | /** |
1307 | * Gets the text of the {@code <Command Failure Message>} message. |
1308 | * <p><dl> |
1309 | * <dt><b>Languages:</b></dt> |
1310 | * <dd>English (default)</dd> |
1311 | * <dd>Deutsch</dd> |
1312 | * <dt><b>Final:</b></dt><dd>No</dd> |
1313 | * </dl></p> |
1314 | * @param locale The locale of the message to return. |
1315 | * @param toolName Format argument. |
1316 | * @return The text of the {@code <Command Failure Message>} message for {@code locale}. |
1317 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1318 | */ |
1319 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1320 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1321 | private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) |
1322 | { |
1323 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName ); |
1324 | assert _m != null : "'Command Failure Message' message not found."; |
1325 | return _m; |
1326 | } |
1327 | /** |
1328 | * Gets the text of the {@code <Command Info Message>} message. |
1329 | * <p><dl> |
1330 | * <dt><b>Languages:</b></dt> |
1331 | * <dd>English (default)</dd> |
1332 | * <dd>Deutsch</dd> |
1333 | * <dt><b>Final:</b></dt><dd>No</dd> |
1334 | * </dl></p> |
1335 | * @param locale The locale of the message to return. |
1336 | * @param toolName Format argument. |
1337 | * @return The text of the {@code <Command Info Message>} message for {@code locale}. |
1338 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1339 | */ |
1340 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1341 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1342 | private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) |
1343 | { |
1344 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName ); |
1345 | assert _m != null : "'Command Info Message' message not found."; |
1346 | return _m; |
1347 | } |
1348 | /** |
1349 | * Gets the text of the {@code <Command Success Message>} message. |
1350 | * <p><dl> |
1351 | * <dt><b>Languages:</b></dt> |
1352 | * <dd>English (default)</dd> |
1353 | * <dd>Deutsch</dd> |
1354 | * <dt><b>Final:</b></dt><dd>No</dd> |
1355 | * </dl></p> |
1356 | * @param locale The locale of the message to return. |
1357 | * @param toolName Format argument. |
1358 | * @return The text of the {@code <Command Success Message>} message for {@code locale}. |
1359 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1360 | */ |
1361 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1362 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1363 | private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) |
1364 | { |
1365 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName ); |
1366 | assert _m != null : "'Command Success Message' message not found."; |
1367 | return _m; |
1368 | } |
1369 | /** |
1370 | * Gets the text of the {@code <Default Log Level Info>} message. |
1371 | * <p><dl> |
1372 | * <dt><b>Languages:</b></dt> |
1373 | * <dd>English (default)</dd> |
1374 | * <dd>Deutsch</dd> |
1375 | * <dt><b>Final:</b></dt><dd>No</dd> |
1376 | * </dl></p> |
1377 | * @param locale The locale of the message to return. |
1378 | * @param defaultLogLevel Format argument. |
1379 | * @return The text of the {@code <Default Log Level Info>} message for {@code locale}. |
1380 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1381 | */ |
1382 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1383 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1384 | private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) |
1385 | { |
1386 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel ); |
1387 | assert _m != null : "'Default Log Level Info' message not found."; |
1388 | return _m; |
1389 | } |
1390 | /** |
1391 | * Gets the text of the {@code <Deprecated Option Message>} message. |
1392 | * <p><dl> |
1393 | * <dt><b>Languages:</b></dt> |
1394 | * <dd>English (default)</dd> |
1395 | * <dd>Deutsch</dd> |
1396 | * <dt><b>Final:</b></dt><dd>No</dd> |
1397 | * </dl></p> |
1398 | * @param locale The locale of the message to return. |
1399 | * @param deprecatedOption Format argument. |
1400 | * @param replacementOption Format argument. |
1401 | * @return The text of the {@code <Deprecated Option Message>} message for {@code locale}. |
1402 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1403 | */ |
1404 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1405 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1406 | private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption ) |
1407 | { |
1408 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Deprecated Option Message", locale, deprecatedOption, replacementOption ); |
1409 | assert _m != null : "'Deprecated Option Message' message not found."; |
1410 | return _m; |
1411 | } |
1412 | /** |
1413 | * Gets the text of the {@code <Document File Info>} message. |
1414 | * <p><dl> |
1415 | * <dt><b>Languages:</b></dt> |
1416 | * <dd>English (default)</dd> |
1417 | * <dd>Deutsch</dd> |
1418 | * <dt><b>Final:</b></dt><dd>No</dd> |
1419 | * </dl></p> |
1420 | * @param locale The locale of the message to return. |
1421 | * @param documentFile Format argument. |
1422 | * @return The text of the {@code <Document File Info>} message for {@code locale}. |
1423 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1424 | */ |
1425 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1426 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1427 | private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) |
1428 | { |
1429 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile ); |
1430 | assert _m != null : "'Document File Info' message not found."; |
1431 | return _m; |
1432 | } |
1433 | /** |
1434 | * Gets the text of the {@code <Document File Not Found Warning>} message. |
1435 | * <p><dl> |
1436 | * <dt><b>Languages:</b></dt> |
1437 | * <dd>English (default)</dd> |
1438 | * <dd>Deutsch</dd> |
1439 | * <dt><b>Final:</b></dt><dd>No</dd> |
1440 | * </dl></p> |
1441 | * @param locale The locale of the message to return. |
1442 | * @param fileName Format argument. |
1443 | * @return The text of the {@code <Document File Not Found Warning>} message for {@code locale}. |
1444 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1445 | */ |
1446 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1447 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1448 | private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) |
1449 | { |
1450 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName ); |
1451 | assert _m != null : "'Document File Not Found Warning' message not found."; |
1452 | return _m; |
1453 | } |
1454 | /** |
1455 | * Gets the text of the {@code <Excluded Modlet Info>} message. |
1456 | * <p><dl> |
1457 | * <dt><b>Languages:</b></dt> |
1458 | * <dd>English (default)</dd> |
1459 | * <dd>Deutsch</dd> |
1460 | * <dt><b>Final:</b></dt><dd>No</dd> |
1461 | * </dl></p> |
1462 | * @param locale The locale of the message to return. |
1463 | * @param resourceName Format argument. |
1464 | * @param modletIdentifier Format argument. |
1465 | * @return The text of the {@code <Excluded Modlet Info>} message for {@code locale}. |
1466 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1467 | */ |
1468 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1469 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1470 | private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) |
1471 | { |
1472 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier ); |
1473 | assert _m != null : "'Excluded Modlet Info' message not found."; |
1474 | return _m; |
1475 | } |
1476 | /** |
1477 | * Gets the text of the {@code <Excluded Provider Info>} message. |
1478 | * <p><dl> |
1479 | * <dt><b>Languages:</b></dt> |
1480 | * <dd>English (default)</dd> |
1481 | * <dd>Deutsch</dd> |
1482 | * <dt><b>Final:</b></dt><dd>No</dd> |
1483 | * </dl></p> |
1484 | * @param locale The locale of the message to return. |
1485 | * @param resourceName Format argument. |
1486 | * @param providerName Format argument. |
1487 | * @return The text of the {@code <Excluded Provider Info>} message for {@code locale}. |
1488 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1489 | */ |
1490 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1491 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1492 | private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) |
1493 | { |
1494 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName ); |
1495 | assert _m != null : "'Excluded Provider Info' message not found."; |
1496 | return _m; |
1497 | } |
1498 | /** |
1499 | * Gets the text of the {@code <Excluded Schema Info>} message. |
1500 | * <p><dl> |
1501 | * <dt><b>Languages:</b></dt> |
1502 | * <dd>English (default)</dd> |
1503 | * <dd>Deutsch</dd> |
1504 | * <dt><b>Final:</b></dt><dd>No</dd> |
1505 | * </dl></p> |
1506 | * @param locale The locale of the message to return. |
1507 | * @param resourceName Format argument. |
1508 | * @param contextId Format argument. |
1509 | * @return The text of the {@code <Excluded Schema Info>} message for {@code locale}. |
1510 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1511 | */ |
1512 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1513 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1514 | private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) |
1515 | { |
1516 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId ); |
1517 | assert _m != null : "'Excluded Schema Info' message not found."; |
1518 | return _m; |
1519 | } |
1520 | /** |
1521 | * Gets the text of the {@code <Excluded Service Info>} message. |
1522 | * <p><dl> |
1523 | * <dt><b>Languages:</b></dt> |
1524 | * <dd>English (default)</dd> |
1525 | * <dd>Deutsch</dd> |
1526 | * <dt><b>Final:</b></dt><dd>No</dd> |
1527 | * </dl></p> |
1528 | * @param locale The locale of the message to return. |
1529 | * @param resourceName Format argument. |
1530 | * @param serviceName Format argument. |
1531 | * @return The text of the {@code <Excluded Service Info>} message for {@code locale}. |
1532 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1533 | */ |
1534 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1535 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1536 | private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) |
1537 | { |
1538 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName ); |
1539 | assert _m != null : "'Excluded Service Info' message not found."; |
1540 | return _m; |
1541 | } |
1542 | /** |
1543 | * Gets the text of the {@code <Failed Creating Object Message>} message. |
1544 | * <p><dl> |
1545 | * <dt><b>Languages:</b></dt> |
1546 | * <dd>English (default)</dd> |
1547 | * <dd>Deutsch</dd> |
1548 | * <dt><b>Final:</b></dt><dd>No</dd> |
1549 | * </dl></p> |
1550 | * @param locale The locale of the message to return. |
1551 | * @param objectInfo Format argument. |
1552 | * @return The text of the {@code <Failed Creating Object Message>} message for {@code locale}. |
1553 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1554 | */ |
1555 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1556 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1557 | private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo ) |
1558 | { |
1559 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Failed Creating Object Message", locale, objectInfo ); |
1560 | assert _m != null : "'Failed Creating Object Message' message not found."; |
1561 | return _m; |
1562 | } |
1563 | /** |
1564 | * Gets the text of the {@code <Implementation Not Found Warning>} message. |
1565 | * <p><dl> |
1566 | * <dt><b>Languages:</b></dt> |
1567 | * <dd>English (default)</dd> |
1568 | * <dd>Deutsch</dd> |
1569 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1570 | * </dl></p> |
1571 | * @param locale The locale of the message to return. |
1572 | * @param implementationIdentifier Format argument. |
1573 | * @return The text of the {@code <Implementation Not Found Warning>} message for {@code locale}. |
1574 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1575 | */ |
1576 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1577 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1578 | private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) |
1579 | { |
1580 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Implementation Not Found Warning", locale, implementationIdentifier ); |
1581 | assert _m != null : "'Implementation Not Found Warning' message not found."; |
1582 | return _m; |
1583 | } |
1584 | /** |
1585 | * Gets the text of the {@code <Invalid Model Message>} message. |
1586 | * <p><dl> |
1587 | * <dt><b>Languages:</b></dt> |
1588 | * <dd>English (default)</dd> |
1589 | * <dd>Deutsch</dd> |
1590 | * <dt><b>Final:</b></dt><dd>No</dd> |
1591 | * </dl></p> |
1592 | * @param locale The locale of the message to return. |
1593 | * @param modelIdentifier Format argument. |
1594 | * @return The text of the {@code <Invalid Model Message>} message for {@code locale}. |
1595 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1596 | */ |
1597 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1598 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1599 | private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) |
1600 | { |
1601 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier ); |
1602 | assert _m != null : "'Invalid Model Message' message not found."; |
1603 | return _m; |
1604 | } |
1605 | /** |
1606 | * Gets the text of the {@code <Long Description Message>} message. |
1607 | * <p><dl> |
1608 | * <dt><b>Languages:</b></dt> |
1609 | * <dd>English (default)</dd> |
1610 | * <dt><b>Final:</b></dt><dd>No</dd> |
1611 | * </dl></p> |
1612 | * @param locale The locale of the message to return. |
1613 | * @return The text of the {@code <Long Description Message>} message for {@code locale}. |
1614 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1615 | */ |
1616 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1617 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1618 | private String getLongDescriptionMessage( final java.util.Locale locale ) |
1619 | { |
1620 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale ); |
1621 | assert _m != null : "'Long Description Message' message not found."; |
1622 | return _m; |
1623 | } |
1624 | /** |
1625 | * Gets the text of the {@code <Module Not Found Warning>} message. |
1626 | * <p><dl> |
1627 | * <dt><b>Languages:</b></dt> |
1628 | * <dd>English (default)</dd> |
1629 | * <dd>Deutsch</dd> |
1630 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1631 | * </dl></p> |
1632 | * @param locale The locale of the message to return. |
1633 | * @param moduleName Format argument. |
1634 | * @return The text of the {@code <Module Not Found Warning>} message for {@code locale}. |
1635 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1636 | */ |
1637 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1638 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1639 | private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) |
1640 | { |
1641 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Module Not Found Warning", locale, moduleName ); |
1642 | assert _m != null : "'Module Not Found Warning' message not found."; |
1643 | return _m; |
1644 | } |
1645 | /** |
1646 | * Gets the text of the {@code <Reading Message>} message. |
1647 | * <p><dl> |
1648 | * <dt><b>Languages:</b></dt> |
1649 | * <dd>English (default)</dd> |
1650 | * <dd>Deutsch</dd> |
1651 | * <dt><b>Final:</b></dt><dd>No</dd> |
1652 | * </dl></p> |
1653 | * @param locale The locale of the message to return. |
1654 | * @param locationInfo Format argument. |
1655 | * @return The text of the {@code <Reading Message>} message for {@code locale}. |
1656 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1657 | */ |
1658 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1659 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1660 | private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) |
1661 | { |
1662 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo ); |
1663 | assert _m != null : "'Reading Message' message not found."; |
1664 | return _m; |
1665 | } |
1666 | /** |
1667 | * Gets the text of the {@code <Separator>} message. |
1668 | * <p><dl> |
1669 | * <dt><b>Languages:</b></dt> |
1670 | * <dd>English (default)</dd> |
1671 | * <dt><b>Final:</b></dt><dd>No</dd> |
1672 | * </dl></p> |
1673 | * @param locale The locale of the message to return. |
1674 | * @return The text of the {@code <Separator>} message for {@code locale}. |
1675 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1676 | */ |
1677 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1678 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1679 | private String getSeparator( final java.util.Locale locale ) |
1680 | { |
1681 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale ); |
1682 | assert _m != null : "'Separator' message not found."; |
1683 | return _m; |
1684 | } |
1685 | /** |
1686 | * Gets the text of the {@code <Short Description Message>} message. |
1687 | * <p><dl> |
1688 | * <dt><b>Languages:</b></dt> |
1689 | * <dd>English (default)</dd> |
1690 | * <dt><b>Final:</b></dt><dd>No</dd> |
1691 | * </dl></p> |
1692 | * @param locale The locale of the message to return. |
1693 | * @return The text of the {@code <Short Description Message>} message for {@code locale}. |
1694 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1695 | */ |
1696 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1697 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1698 | private String getShortDescriptionMessage( final java.util.Locale locale ) |
1699 | { |
1700 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale ); |
1701 | assert _m != null : "'Short Description Message' message not found."; |
1702 | return _m; |
1703 | } |
1704 | /** |
1705 | * Gets the text of the {@code <Specification Not Found Warning>} message. |
1706 | * <p><dl> |
1707 | * <dt><b>Languages:</b></dt> |
1708 | * <dd>English (default)</dd> |
1709 | * <dd>Deutsch</dd> |
1710 | * <dt><b>Final:</b></dt><dd>Yes</dd> |
1711 | * </dl></p> |
1712 | * @param locale The locale of the message to return. |
1713 | * @param specificationIdentifier Format argument. |
1714 | * @return The text of the {@code <Specification Not Found Warning>} message for {@code locale}. |
1715 | * @throws org.jomc.ObjectManagementException if getting the message instance fails. |
1716 | */ |
1717 | @SuppressWarnings({"unchecked", "unused", "PMD.UnnecessaryFullyQualifiedName"}) |
1718 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1719 | private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) |
1720 | { |
1721 | final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Specification Not Found Warning", locale, specificationIdentifier ); |
1722 | assert _m != null : "'Specification Not Found Warning' message not found."; |
1723 | return _m; |
1724 | } |
1725 | // </editor-fold> |
1726 | // SECTION-END |
1727 | // SECTION-START[Generated Command] |
1728 | // <editor-fold defaultstate="collapsed" desc=" Generated Options "> |
1729 | /** |
1730 | * Gets the options of the command. |
1731 | * <p><strong>Options:</strong> |
1732 | * <table border="1" width="100%" cellpadding="3" cellspacing="0"> |
1733 | * <tr class="TableSubHeadingColor"> |
1734 | * <th align="left" scope="col" nowrap><b>Specification</b></th> |
1735 | * <th align="left" scope="col" nowrap><b>Implementation</b></th> |
1736 | * </tr> |
1737 | * <tr class="TableRow"> |
1738 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1739 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Classpath Option</td> |
1740 | * </tr> |
1741 | * <tr class="TableRow"> |
1742 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1743 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Country Option</td> |
1744 | * </tr> |
1745 | * <tr class="TableRow"> |
1746 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1747 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Default Template Encoding Option</td> |
1748 | * </tr> |
1749 | * <tr class="TableRow"> |
1750 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1751 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Default Template Profile Option</td> |
1752 | * </tr> |
1753 | * <tr class="TableRow"> |
1754 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1755 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Documents Option</td> |
1756 | * </tr> |
1757 | * <tr class="TableRow"> |
1758 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1759 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Implementation Option</td> |
1760 | * </tr> |
1761 | * <tr class="TableRow"> |
1762 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1763 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Indentation String Option</td> |
1764 | * </tr> |
1765 | * <tr class="TableRow"> |
1766 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1767 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Input Encoding Option</td> |
1768 | * </tr> |
1769 | * <tr class="TableRow"> |
1770 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1771 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Language Option</td> |
1772 | * </tr> |
1773 | * <tr class="TableRow"> |
1774 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1775 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Line Separator Option</td> |
1776 | * </tr> |
1777 | * <tr class="TableRow"> |
1778 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1779 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Locale Variant Option</td> |
1780 | * </tr> |
1781 | * <tr class="TableRow"> |
1782 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1783 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option</td> |
1784 | * </tr> |
1785 | * <tr class="TableRow"> |
1786 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1787 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Model Option</td> |
1788 | * </tr> |
1789 | * <tr class="TableRow"> |
1790 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1791 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Location Option</td> |
1792 | * </tr> |
1793 | * <tr class="TableRow"> |
1794 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1795 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Schema System Id Option</td> |
1796 | * </tr> |
1797 | * <tr class="TableRow"> |
1798 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1799 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Location Option</td> |
1800 | * </tr> |
1801 | * <tr class="TableRow"> |
1802 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1803 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Name Option</td> |
1804 | * </tr> |
1805 | * <tr class="TableRow"> |
1806 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1807 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Classpath Resolution Option</td> |
1808 | * </tr> |
1809 | * <tr class="TableRow"> |
1810 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1811 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Java Validation Option</td> |
1812 | * </tr> |
1813 | * <tr class="TableRow"> |
1814 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1815 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Processing Option</td> |
1816 | * </tr> |
1817 | * <tr class="TableRow"> |
1818 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1819 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Resource Validation Option</td> |
1820 | * </tr> |
1821 | * <tr class="TableRow"> |
1822 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1823 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option</td> |
1824 | * </tr> |
1825 | * <tr class="TableRow"> |
1826 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1827 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Output Encoding Option</td> |
1828 | * </tr> |
1829 | * <tr class="TableRow"> |
1830 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1831 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Platform Provider Location Option</td> |
1832 | * </tr> |
1833 | * <tr class="TableRow"> |
1834 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1835 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Provider Location Option</td> |
1836 | * </tr> |
1837 | * <tr class="TableRow"> |
1838 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1839 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Specification Option</td> |
1840 | * </tr> |
1841 | * <tr class="TableRow"> |
1842 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1843 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Encoding Option</td> |
1844 | * </tr> |
1845 | * <tr class="TableRow"> |
1846 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1847 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Location Option</td> |
1848 | * </tr> |
1849 | * <tr class="TableRow"> |
1850 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1851 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Template Profile Option</td> |
1852 | * </tr> |
1853 | * <tr class="TableRow"> |
1854 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> |
1855 | * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Transformer Location Option</td> |
1856 | * </tr> |
1857 | * </table> |
1858 | * </p> |
1859 | * @return The options of the command. |
1860 | */ |
1861 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.8", comments = "See http://www.jomc.org/jomc/1.8/jomc-tools-1.8" ) |
1862 | @Override |
1863 | public org.apache.commons.cli.Options getOptions() |
1864 | { |
1865 | final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); |
1866 | options.addOption( this.getClasspathOption() ); |
1867 | options.addOption( this.getCountryOption() ); |
1868 | options.addOption( this.getDefaultTemplateEncodingOption() ); |
1869 | options.addOption( this.getDefaultTemplateProfileOption() ); |
1870 | options.addOption( this.getDocumentsOption() ); |
1871 | options.addOption( this.getImplementationOption() ); |
1872 | options.addOption( this.getIndentationStringOption() ); |
1873 | options.addOption( this.getInputEncodingOption() ); |
1874 | options.addOption( this.getLanguageOption() ); |
1875 | options.addOption( this.getLineSeparatorOption() ); |
1876 | options.addOption( this.getLocaleVariantOption() ); |
1877 | options.addOption( this.getModelContextFactoryOption() ); |
1878 | options.addOption( this.getModelOption() ); |
1879 | options.addOption( this.getModletLocationOption() ); |
1880 | options.addOption( this.getModletSchemaSystemIdOption() ); |
1881 | options.addOption( this.getModuleLocationOption() ); |
1882 | options.addOption( this.getModuleNameOption() ); |
1883 | options.addOption( this.getNoClasspathResolutionOption() ); |
1884 | options.addOption( this.getNoJavaValidationOption() ); |
1885 | options.addOption( this.getNoModelProcessingOption() ); |
1886 | options.addOption( this.getNoModelResourceValidation() ); |
1887 | options.addOption( this.getNoModletResourceValidation() ); |
1888 | options.addOption( this.getOutputEncodingOption() ); |
1889 | options.addOption( this.getPlatformProviderLocationOption() ); |
1890 | options.addOption( this.getProviderLocationOption() ); |
1891 | options.addOption( this.getSpecificationOption() ); |
1892 | options.addOption( this.getTemplateEncodingOption() ); |
1893 | options.addOption( this.getTemplateLocationOption() ); |
1894 | options.addOption( this.getTemplateProfileOption() ); |
1895 | options.addOption( this.getTransformerLocationOption() ); |
1896 | return options; |
1897 | } |
1898 | // </editor-fold> |
1899 | // SECTION-END |
1900 | } |