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