001 // SECTION-START[License Header]
002 // <editor-fold defaultstate="collapsed" desc=" Generated License ">
003 /*
004 * Copyright (c) 2009 The JOMC Project
005 * Copyright (c) 2005 Christian Schulte <cs@jomc.org>
006 * All rights reserved.
007 *
008 * Redistribution and use in source and binary forms, with or without
009 * modification, are permitted provided that the following conditions
010 * are met:
011 *
012 * o Redistributions of source code must retain the above copyright
013 * notice, this list of conditions and the following disclaimer.
014 *
015 * o Redistributions in binary form must reproduce the above copyright
016 * notice, this list of conditions and the following disclaimer in
017 * the documentation and/or other materials provided with the
018 * distribution.
019 *
020 * THIS SOFTWARE IS PROVIDED BY THE JOMC PROJECT AND CONTRIBUTORS "AS IS"
021 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
022 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
023 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JOMC PROJECT OR
024 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
025 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
026 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
027 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
028 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
029 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
030 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
031 *
032 * $Id: ValidateJavaClassesCommand.java 1102 2009-12-07 03:01:58Z schulte2005 $
033 *
034 */
035 // </editor-fold>
036 // SECTION-END
037 package org.jomc.cli.commands;
038
039 import java.util.logging.Level;
040 import javax.xml.bind.JAXBContext;
041 import javax.xml.bind.Marshaller;
042 import javax.xml.bind.Unmarshaller;
043 import javax.xml.validation.Schema;
044 import org.apache.commons.cli.CommandLine;
045 import org.apache.commons.cli.Options;
046 import org.jomc.model.ModelObjectValidationReport;
047 import org.jomc.model.Module;
048 import org.jomc.model.Modules;
049 import org.jomc.model.ObjectFactory;
050 import org.jomc.tools.JavaClasses;
051
052 // SECTION-START[Documentation]
053 // <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
054 /**
055 * Command line interface for validating Java classes with the {@code JavaClasses} tool.
056 * <p><b>Specifications</b><ul>
057 * <li>{@code org.jomc.cli.Command} {@code 1.0} {@code Multiton}</li>
058 * </ul></p>
059 * <p><b>Properties</b><ul>
060 * <li>"{@link #getAbbreviatedCommandName abbreviatedCommandName}"
061 * <blockquote>Property of type {@code java.lang.String}.
062 * <p>Abbreviated name of the command.</p>
063 * </blockquote></li>
064 * <li>"{@link #getClasspathOptionLongName classpathOptionLongName}"
065 * <blockquote>Property of type {@code java.lang.String}.
066 * <p>Long name of the 'classpath' option.</p>
067 * </blockquote></li>
068 * <li>"{@link #getClasspathOptionShortName classpathOptionShortName}"
069 * <blockquote>Property of type {@code java.lang.String}.
070 * <p>Name of the 'classpath' option.</p>
071 * </blockquote></li>
072 * <li>"{@link #getCommandName commandName}"
073 * <blockquote>Property of type {@code java.lang.String}.
074 * <p>Name of the command.</p>
075 * </blockquote></li>
076 * <li>"{@link #getDocumentsOptionLongName documentsOptionLongName}"
077 * <blockquote>Property of type {@code java.lang.String}.
078 * <p>Long name of the 'documents' option.</p>
079 * </blockquote></li>
080 * <li>"{@link #getDocumentsOptionShortName documentsOptionShortName}"
081 * <blockquote>Property of type {@code java.lang.String}.
082 * <p>Name of the 'documents' option.</p>
083 * </blockquote></li>
084 * <li>"{@link #getModuleLocationOptionLongName moduleLocationOptionLongName}"
085 * <blockquote>Property of type {@code java.lang.String}.
086 * <p>Long name of the 'module-location' option.</p>
087 * </blockquote></li>
088 * <li>"{@link #getModuleLocationOptionShortName moduleLocationOptionShortName}"
089 * <blockquote>Property of type {@code java.lang.String}.
090 * <p>Name of the 'module-location' option.</p>
091 * </blockquote></li>
092 * <li>"{@link #getModuleNameOptionLongName moduleNameOptionLongName}"
093 * <blockquote>Property of type {@code java.lang.String}.
094 * <p>Long name of the 'module' option.</p>
095 * </blockquote></li>
096 * <li>"{@link #getModuleNameOptionShortName moduleNameOptionShortName}"
097 * <blockquote>Property of type {@code java.lang.String}.
098 * <p>Name of the 'module' option.</p>
099 * </blockquote></li>
100 * <li>"{@link #getNoClasspathResolutionOptionLongName noClasspathResolutionOptionLongName}"
101 * <blockquote>Property of type {@code java.lang.String}.
102 * <p>Long name of the 'no-classpath-resolution' option.</p>
103 * </blockquote></li>
104 * <li>"{@link #getNoClasspathResolutionOptionShortName noClasspathResolutionOptionShortName}"
105 * <blockquote>Property of type {@code java.lang.String}.
106 * <p>Name of the 'no-classpath-resolution' option.</p>
107 * </blockquote></li>
108 * </ul></p>
109 * <p><b>Dependencies</b><ul>
110 * <li>"{@link #getLocale Locale}"<blockquote>
111 * Dependency on {@code java.util.Locale} at specification level 1.1 bound to an instance.</blockquote></li>
112 * </ul></p>
113 * <p><b>Messages</b><ul>
114 * <li>"{@link #getApplicationTitleMessage applicationTitle}"<table>
115 * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-11 Build 2009-12-07T02:58:52+0000</pre></td></tr>
116 * </table>
117 * <li>"{@link #getCannotProcessMessage cannotProcess}"<table>
118 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
119 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
120 * </table>
121 * <li>"{@link #getClasspathElementMessage classpathElement}"<table>
122 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
123 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
124 * </table>
125 * <li>"{@link #getClasspathOptionMessage classpathOption}"<table>
126 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath elements separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding classpath elements.</pre></td></tr>
127 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Elemente mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Klassenpfad-Elementen.</pre></td></tr>
128 * </table>
129 * <li>"{@link #getClasspathOptionArgNameMessage classpathOptionArgName}"<table>
130 * <tr><td valign="top">English:</td><td valign="top"><pre>elements</pre></td></tr>
131 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Elemente</pre></td></tr>
132 * </table>
133 * <li>"{@link #getDefaultLogLevelInfoMessage defaultLogLevelInfo}"<table>
134 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
135 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
136 * </table>
137 * <li>"{@link #getDocumentFileMessage documentFile}"<table>
138 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
139 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
140 * </table>
141 * <li>"{@link #getDocumentsOptionMessage documentsOption}"<table>
142 * <tr><td valign="top">English:</td><td valign="top"><pre>Document filenames separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding document filenames.</pre></td></tr>
143 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Dateinamen mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Dokument-Dateinamen.</pre></td></tr>
144 * </table>
145 * <li>"{@link #getDocumentsOptionArgNameMessage documentsOptionArgName}"<table>
146 * <tr><td valign="top">English:</td><td valign="top"><pre>files</pre></td></tr>
147 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dateien</pre></td></tr>
148 * </table>
149 * <li>"{@link #getInvalidModelMessage invalidModel}"<table>
150 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
151 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ungültiges Modell.</pre></td></tr>
152 * </table>
153 * <li>"{@link #getLongDescriptionMessage longDescription}"<table>
154 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
155 * jomc validate-java-classes -cp target/classes -df examples/xml/jomc-cli.xml -v</pre></td></tr>
156 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
157 * jomc validate-java-classes -cp target/classes -df examples/xml/jomc-cli.xml -v</pre></td></tr>
158 * </table>
159 * <li>"{@link #getMissingModuleMessage missingModule}"<table>
160 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
161 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
162 * </table>
163 * <li>"{@link #getModuleLocationOptionMessage moduleLocationOption}"<table>
164 * <tr><td valign="top">English:</td><td valign="top"><pre>Location of classpath modules.</pre></td></tr>
165 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort der Klassenpfad-Module.</pre></td></tr>
166 * </table>
167 * <li>"{@link #getModuleLocationOptionArgNameMessage moduleLocationOptionArgName}"<table>
168 * <tr><td valign="top">English:</td><td valign="top"><pre>location</pre></td></tr>
169 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort</pre></td></tr>
170 * </table>
171 * <li>"{@link #getModuleNameOptionMessage moduleNameOption}"<table>
172 * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the module to process.</pre></td></tr>
173 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name des zu verarbeitenden Moduls.</pre></td></tr>
174 * </table>
175 * <li>"{@link #getModuleNameOptionArgNameMessage moduleNameOptionArgName}"<table>
176 * <tr><td valign="top">English:</td><td valign="top"><pre>name</pre></td></tr>
177 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name</pre></td></tr>
178 * </table>
179 * <li>"{@link #getModulesReportMessage modulesReport}"<table>
180 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
181 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
182 * </table>
183 * <li>"{@link #getNoClasspathResolutionOptionMessage noClasspathResolutionOption}"<table>
184 * <tr><td valign="top">English:</td><td valign="top"><pre>Do not perform classpath resolution.</pre></td></tr>
185 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Keine Klassenpfad-Auflösung durchführen.</pre></td></tr>
186 * </table>
187 * <li>"{@link #getSeparatorMessage separator}"<table>
188 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
189 * </table>
190 * <li>"{@link #getShortDescriptionMessage shortDescription}"<table>
191 * <tr><td valign="top">English:</td><td valign="top"><pre>Validates Java class files.</pre></td></tr>
192 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Prüft Java Klassendateien.</pre></td></tr>
193 * </table>
194 * <li>"{@link #getStartingModuleProcessingMessage startingModuleProcessing}"<table>
195 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
196 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Führt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
197 * </table>
198 * <li>"{@link #getStartingProcessingMessage startingProcessing}"<table>
199 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
200 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Führt Befehl {0} aus ... </pre></td></tr>
201 * </table>
202 * <li>"{@link #getToolFailureMessage toolFailure}"<table>
203 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
204 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
205 * </table>
206 * <li>"{@link #getToolSuccessMessage toolSuccess}"<table>
207 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
208 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
209 * </table>
210 * </ul></p>
211 *
212 * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
213 * @version $Id: ValidateJavaClassesCommand.java 1102 2009-12-07 03:01:58Z schulte2005 $
214 */
215 // </editor-fold>
216 // SECTION-END
217 // SECTION-START[Annotations]
218 // <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
219 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
220 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
221 // </editor-fold>
222 // SECTION-END
223 public final class ValidateJavaClassesCommand extends AbstractJomcCommand
224 {
225 // SECTION-START[Command]
226
227 /** Options of the instance. */
228 private Options options;
229
230 @Override
231 public Options getOptions()
232 {
233 if ( this.options == null )
234 {
235 this.options = super.getOptions();
236 }
237
238 return this.options;
239 }
240
241 public int executeCommand( final CommandLine commandLine ) throws Exception
242 {
243 final Modules modules = this.getModules( commandLine );
244 final ClassLoader classLoader = this.getClassLoader( commandLine );
245 final JAXBContext context = this.getModelManager().getContext( classLoader );
246 final Marshaller marshaller = this.getModelManager().getMarshaller( classLoader );
247 final Unmarshaller unmarshaller = this.getModelManager().getUnmarshaller( classLoader );
248 final Schema schema = this.getModelManager().getSchema( classLoader );
249 final ModelObjectValidationReport validationReport = this.getModelObjectValidator().validateModelObject(
250 new ObjectFactory().createModules( modules ), context, schema );
251
252 this.log( validationReport, marshaller );
253
254 if ( validationReport.isModelObjectValid() )
255 {
256 final JavaClasses tool = this.getJavaClasses();
257 tool.setModules( modules );
258
259 if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
260 {
261 final String moduleName = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
262 final Module module = tool.getModules().getModule( moduleName );
263
264 if ( module != null )
265 {
266 if ( this.isLoggable( Level.INFO ) )
267 {
268 this.log( Level.INFO, this.getStartingModuleProcessingMessage(
269 this.getLocale(), this.getCommandName(), module.getName() ), null );
270
271 }
272
273 tool.validateClasses( module, unmarshaller, classLoader );
274 }
275 else if ( this.isLoggable( Level.WARNING ) )
276 {
277 this.log( Level.WARNING, this.getMissingModuleMessage( this.getLocale(), moduleName ), null );
278 }
279 }
280 else
281 {
282 if ( this.isLoggable( Level.INFO ) )
283 {
284 this.log( Level.INFO, this.getStartingProcessingMessage(
285 this.getLocale(), this.getCommandName() ), null );
286
287 }
288
289 tool.validateClasses( unmarshaller, classLoader );
290 }
291
292 return STATUS_SUCCESS;
293 }
294
295 return STATUS_FAILURE;
296 }
297
298 // SECTION-END
299 // SECTION-START[ValidateJavaClassesCommand]
300 // SECTION-END
301 // SECTION-START[Constructors]
302 // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
303
304 /** Creates a new {@code ValidateJavaClassesCommand} instance. */
305 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
306 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
307 public ValidateJavaClassesCommand()
308 {
309 // SECTION-START[Default Constructor]
310 super();
311 // SECTION-END
312 }
313 // </editor-fold>
314 // SECTION-END
315 // SECTION-START[Dependencies]
316 // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
317
318 /**
319 * Gets the {@code Locale} dependency.
320 * <p>This method returns the "{@code default}" object of the {@code java.util.Locale} specification at specification level 1.1.</p>
321 * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
322 * @return The {@code Locale} dependency.
323 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
324 */
325 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
326 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
327 private java.util.Locale getLocale()
328 {
329 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
330 assert _d != null : "'Locale' dependency not found.";
331 return _d;
332 }
333 // </editor-fold>
334 // SECTION-END
335 // SECTION-START[Properties]
336 // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
337
338 /**
339 * Gets the value of the {@code abbreviatedCommandName} property.
340 * @return Abbreviated name of the command.
341 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
342 */
343 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
344 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
345 private java.lang.String getAbbreviatedCommandName()
346 {
347 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
348 assert _p != null : "'abbreviatedCommandName' property not found.";
349 return _p;
350 }
351
352 /**
353 * Gets the value of the {@code classpathOptionLongName} property.
354 * @return Long name of the 'classpath' option.
355 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
356 */
357 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
358 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
359 private java.lang.String getClasspathOptionLongName()
360 {
361 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "classpathOptionLongName" );
362 assert _p != null : "'classpathOptionLongName' property not found.";
363 return _p;
364 }
365
366 /**
367 * Gets the value of the {@code classpathOptionShortName} property.
368 * @return Name of the 'classpath' option.
369 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
370 */
371 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
372 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
373 private java.lang.String getClasspathOptionShortName()
374 {
375 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "classpathOptionShortName" );
376 assert _p != null : "'classpathOptionShortName' property not found.";
377 return _p;
378 }
379
380 /**
381 * Gets the value of the {@code commandName} property.
382 * @return Name of the command.
383 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
384 */
385 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
386 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
387 private java.lang.String getCommandName()
388 {
389 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
390 assert _p != null : "'commandName' property not found.";
391 return _p;
392 }
393
394 /**
395 * Gets the value of the {@code documentsOptionLongName} property.
396 * @return Long name of the 'documents' option.
397 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
398 */
399 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
400 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
401 private java.lang.String getDocumentsOptionLongName()
402 {
403 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentsOptionLongName" );
404 assert _p != null : "'documentsOptionLongName' property not found.";
405 return _p;
406 }
407
408 /**
409 * Gets the value of the {@code documentsOptionShortName} property.
410 * @return Name of the 'documents' option.
411 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
412 */
413 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
414 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
415 private java.lang.String getDocumentsOptionShortName()
416 {
417 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "documentsOptionShortName" );
418 assert _p != null : "'documentsOptionShortName' property not found.";
419 return _p;
420 }
421
422 /**
423 * Gets the value of the {@code moduleLocationOptionLongName} property.
424 * @return Long name of the 'module-location' option.
425 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
426 */
427 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
428 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
429 private java.lang.String getModuleLocationOptionLongName()
430 {
431 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleLocationOptionLongName" );
432 assert _p != null : "'moduleLocationOptionLongName' property not found.";
433 return _p;
434 }
435
436 /**
437 * Gets the value of the {@code moduleLocationOptionShortName} property.
438 * @return Name of the 'module-location' option.
439 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
440 */
441 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
442 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
443 private java.lang.String getModuleLocationOptionShortName()
444 {
445 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleLocationOptionShortName" );
446 assert _p != null : "'moduleLocationOptionShortName' property not found.";
447 return _p;
448 }
449
450 /**
451 * Gets the value of the {@code moduleNameOptionLongName} property.
452 * @return Long name of the 'module' option.
453 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
454 */
455 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
456 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
457 private java.lang.String getModuleNameOptionLongName()
458 {
459 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleNameOptionLongName" );
460 assert _p != null : "'moduleNameOptionLongName' property not found.";
461 return _p;
462 }
463
464 /**
465 * Gets the value of the {@code moduleNameOptionShortName} property.
466 * @return Name of the 'module' option.
467 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
468 */
469 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
470 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
471 private java.lang.String getModuleNameOptionShortName()
472 {
473 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "moduleNameOptionShortName" );
474 assert _p != null : "'moduleNameOptionShortName' property not found.";
475 return _p;
476 }
477
478 /**
479 * Gets the value of the {@code noClasspathResolutionOptionLongName} property.
480 * @return Long name of the 'no-classpath-resolution' option.
481 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
482 */
483 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
484 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
485 private java.lang.String getNoClasspathResolutionOptionLongName()
486 {
487 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "noClasspathResolutionOptionLongName" );
488 assert _p != null : "'noClasspathResolutionOptionLongName' property not found.";
489 return _p;
490 }
491
492 /**
493 * Gets the value of the {@code noClasspathResolutionOptionShortName} property.
494 * @return Name of the 'no-classpath-resolution' option.
495 * @throws org.jomc.ObjectManagementException if getting the property instance fails.
496 */
497 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
498 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
499 private java.lang.String getNoClasspathResolutionOptionShortName()
500 {
501 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "noClasspathResolutionOptionShortName" );
502 assert _p != null : "'noClasspathResolutionOptionShortName' property not found.";
503 return _p;
504 }
505 // </editor-fold>
506 // SECTION-END
507 // SECTION-START[Messages]
508 // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
509
510 /**
511 * Gets the text of the {@code applicationTitle} message.
512 * <p><b>Templates</b><br/><table>
513 * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-11 Build 2009-12-07T02:58:52+0000</pre></td></tr>
514 * </table></p>
515 * @param locale The locale of the message to return.
516 * @return The text of the {@code applicationTitle} message.
517 *
518 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
519 */
520 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
521 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
522 private String getApplicationTitleMessage( final java.util.Locale locale )
523 {
524 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale, null );
525 assert _m != null : "'applicationTitle' message not found.";
526 return _m;
527 }
528
529 /**
530 * Gets the text of the {@code cannotProcess} message.
531 * <p><b>Templates</b><br/><table>
532 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
533 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
534 * </table></p>
535 * @param locale The locale of the message to return.
536 * @param itemInfo Format argument.
537 * @param detailMessage Format argument.
538 * @return The text of the {@code cannotProcess} message.
539 *
540 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
541 */
542 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
543 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
544 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
545 {
546 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcess", locale, new Object[] { itemInfo, detailMessage, null } );
547 assert _m != null : "'cannotProcess' message not found.";
548 return _m;
549 }
550
551 /**
552 * Gets the text of the {@code classpathElement} message.
553 * <p><b>Templates</b><br/><table>
554 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
555 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
556 * </table></p>
557 * @param locale The locale of the message to return.
558 * @param classpathElement Format argument.
559 * @return The text of the {@code classpathElement} message.
560 *
561 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
562 */
563 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
564 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
565 private String getClasspathElementMessage( final java.util.Locale locale, final java.lang.String classpathElement )
566 {
567 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElement", locale, new Object[] { classpathElement, null } );
568 assert _m != null : "'classpathElement' message not found.";
569 return _m;
570 }
571
572 /**
573 * Gets the text of the {@code classpathOption} message.
574 * <p><b>Templates</b><br/><table>
575 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath elements separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding classpath elements.</pre></td></tr>
576 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Elemente mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Klassenpfad-Elementen.</pre></td></tr>
577 * </table></p>
578 * @param locale The locale of the message to return.
579 * @param pathSeparator Format argument.
580 * @return The text of the {@code classpathOption} message.
581 *
582 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
583 */
584 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
585 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
586 private String getClasspathOptionMessage( final java.util.Locale locale, final java.lang.String pathSeparator )
587 {
588 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathOption", locale, new Object[] { pathSeparator, null } );
589 assert _m != null : "'classpathOption' message not found.";
590 return _m;
591 }
592
593 /**
594 * Gets the text of the {@code classpathOptionArgName} message.
595 * <p><b>Templates</b><br/><table>
596 * <tr><td valign="top">English:</td><td valign="top"><pre>elements</pre></td></tr>
597 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Elemente</pre></td></tr>
598 * </table></p>
599 * @param locale The locale of the message to return.
600 * @return The text of the {@code classpathOptionArgName} message.
601 *
602 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
603 */
604 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
605 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
606 private String getClasspathOptionArgNameMessage( final java.util.Locale locale )
607 {
608 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathOptionArgName", locale, null );
609 assert _m != null : "'classpathOptionArgName' message not found.";
610 return _m;
611 }
612
613 /**
614 * Gets the text of the {@code defaultLogLevelInfo} message.
615 * <p><b>Templates</b><br/><table>
616 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
617 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
618 * </table></p>
619 * @param locale The locale of the message to return.
620 * @param defaultLogLevel Format argument.
621 * @return The text of the {@code defaultLogLevelInfo} message.
622 *
623 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
624 */
625 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
626 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
627 private String getDefaultLogLevelInfoMessage( final java.util.Locale locale, final java.lang.String defaultLogLevel )
628 {
629 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, new Object[] { defaultLogLevel, null } );
630 assert _m != null : "'defaultLogLevelInfo' message not found.";
631 return _m;
632 }
633
634 /**
635 * Gets the text of the {@code documentFile} message.
636 * <p><b>Templates</b><br/><table>
637 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
638 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
639 * </table></p>
640 * @param locale The locale of the message to return.
641 * @param documentFile Format argument.
642 * @return The text of the {@code documentFile} message.
643 *
644 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
645 */
646 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
647 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
648 private String getDocumentFileMessage( final java.util.Locale locale, final java.lang.String documentFile )
649 {
650 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFile", locale, new Object[] { documentFile, null } );
651 assert _m != null : "'documentFile' message not found.";
652 return _m;
653 }
654
655 /**
656 * Gets the text of the {@code documentsOption} message.
657 * <p><b>Templates</b><br/><table>
658 * <tr><td valign="top">English:</td><td valign="top"><pre>Document filenames separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding document filenames.</pre></td></tr>
659 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Dateinamen mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Dokument-Dateinamen.</pre></td></tr>
660 * </table></p>
661 * @param locale The locale of the message to return.
662 * @param pathSeparator Format argument.
663 * @return The text of the {@code documentsOption} message.
664 *
665 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
666 */
667 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
668 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
669 private String getDocumentsOptionMessage( final java.util.Locale locale, final java.lang.String pathSeparator )
670 {
671 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentsOption", locale, new Object[] { pathSeparator, null } );
672 assert _m != null : "'documentsOption' message not found.";
673 return _m;
674 }
675
676 /**
677 * Gets the text of the {@code documentsOptionArgName} message.
678 * <p><b>Templates</b><br/><table>
679 * <tr><td valign="top">English:</td><td valign="top"><pre>files</pre></td></tr>
680 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dateien</pre></td></tr>
681 * </table></p>
682 * @param locale The locale of the message to return.
683 * @return The text of the {@code documentsOptionArgName} message.
684 *
685 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
686 */
687 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
688 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
689 private String getDocumentsOptionArgNameMessage( final java.util.Locale locale )
690 {
691 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentsOptionArgName", locale, null );
692 assert _m != null : "'documentsOptionArgName' message not found.";
693 return _m;
694 }
695
696 /**
697 * Gets the text of the {@code invalidModel} message.
698 * <p><b>Templates</b><br/><table>
699 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
700 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ungültiges Modell.</pre></td></tr>
701 * </table></p>
702 * @param locale The locale of the message to return.
703 * @return The text of the {@code invalidModel} message.
704 *
705 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
706 */
707 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
708 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
709 private String getInvalidModelMessage( final java.util.Locale locale )
710 {
711 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModel", locale, null );
712 assert _m != null : "'invalidModel' message not found.";
713 return _m;
714 }
715
716 /**
717 * Gets the text of the {@code longDescription} message.
718 * <p><b>Templates</b><br/><table>
719 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
720 * jomc validate-java-classes -cp target/classes -df examples/xml/jomc-cli.xml -v</pre></td></tr>
721 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
722 * jomc validate-java-classes -cp target/classes -df examples/xml/jomc-cli.xml -v</pre></td></tr>
723 * </table></p>
724 * @param locale The locale of the message to return.
725 * @return The text of the {@code longDescription} message.
726 *
727 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
728 */
729 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
730 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
731 private String getLongDescriptionMessage( final java.util.Locale locale )
732 {
733 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescription", locale, null );
734 assert _m != null : "'longDescription' message not found.";
735 return _m;
736 }
737
738 /**
739 * Gets the text of the {@code missingModule} message.
740 * <p><b>Templates</b><br/><table>
741 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
742 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
743 * </table></p>
744 * @param locale The locale of the message to return.
745 * @param moduleName Format argument.
746 * @return The text of the {@code missingModule} message.
747 *
748 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
749 */
750 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
751 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
752 private String getMissingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
753 {
754 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "missingModule", locale, new Object[] { moduleName, null } );
755 assert _m != null : "'missingModule' message not found.";
756 return _m;
757 }
758
759 /**
760 * Gets the text of the {@code moduleLocationOption} message.
761 * <p><b>Templates</b><br/><table>
762 * <tr><td valign="top">English:</td><td valign="top"><pre>Location of classpath modules.</pre></td></tr>
763 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort der Klassenpfad-Module.</pre></td></tr>
764 * </table></p>
765 * @param locale The locale of the message to return.
766 * @return The text of the {@code moduleLocationOption} message.
767 *
768 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
769 */
770 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
771 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
772 private String getModuleLocationOptionMessage( final java.util.Locale locale )
773 {
774 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleLocationOption", locale, null );
775 assert _m != null : "'moduleLocationOption' message not found.";
776 return _m;
777 }
778
779 /**
780 * Gets the text of the {@code moduleLocationOptionArgName} message.
781 * <p><b>Templates</b><br/><table>
782 * <tr><td valign="top">English:</td><td valign="top"><pre>location</pre></td></tr>
783 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ort</pre></td></tr>
784 * </table></p>
785 * @param locale The locale of the message to return.
786 * @return The text of the {@code moduleLocationOptionArgName} message.
787 *
788 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
789 */
790 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
791 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
792 private String getModuleLocationOptionArgNameMessage( final java.util.Locale locale )
793 {
794 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleLocationOptionArgName", locale, null );
795 assert _m != null : "'moduleLocationOptionArgName' message not found.";
796 return _m;
797 }
798
799 /**
800 * Gets the text of the {@code moduleNameOption} message.
801 * <p><b>Templates</b><br/><table>
802 * <tr><td valign="top">English:</td><td valign="top"><pre>Name of the module to process.</pre></td></tr>
803 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name des zu verarbeitenden Moduls.</pre></td></tr>
804 * </table></p>
805 * @param locale The locale of the message to return.
806 * @return The text of the {@code moduleNameOption} message.
807 *
808 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
809 */
810 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
811 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
812 private String getModuleNameOptionMessage( final java.util.Locale locale )
813 {
814 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNameOption", locale, null );
815 assert _m != null : "'moduleNameOption' message not found.";
816 return _m;
817 }
818
819 /**
820 * Gets the text of the {@code moduleNameOptionArgName} message.
821 * <p><b>Templates</b><br/><table>
822 * <tr><td valign="top">English:</td><td valign="top"><pre>name</pre></td></tr>
823 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Name</pre></td></tr>
824 * </table></p>
825 * @param locale The locale of the message to return.
826 * @return The text of the {@code moduleNameOptionArgName} message.
827 *
828 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
829 */
830 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
831 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
832 private String getModuleNameOptionArgNameMessage( final java.util.Locale locale )
833 {
834 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNameOptionArgName", locale, null );
835 assert _m != null : "'moduleNameOptionArgName' message not found.";
836 return _m;
837 }
838
839 /**
840 * Gets the text of the {@code modulesReport} message.
841 * <p><b>Templates</b><br/><table>
842 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
843 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
844 * </table></p>
845 * @param locale The locale of the message to return.
846 * @return The text of the {@code modulesReport} message.
847 *
848 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
849 */
850 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
851 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
852 private String getModulesReportMessage( final java.util.Locale locale )
853 {
854 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "modulesReport", locale, null );
855 assert _m != null : "'modulesReport' message not found.";
856 return _m;
857 }
858
859 /**
860 * Gets the text of the {@code noClasspathResolutionOption} message.
861 * <p><b>Templates</b><br/><table>
862 * <tr><td valign="top">English:</td><td valign="top"><pre>Do not perform classpath resolution.</pre></td></tr>
863 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Keine Klassenpfad-Auflösung durchführen.</pre></td></tr>
864 * </table></p>
865 * @param locale The locale of the message to return.
866 * @return The text of the {@code noClasspathResolutionOption} message.
867 *
868 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
869 */
870 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
871 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
872 private String getNoClasspathResolutionOptionMessage( final java.util.Locale locale )
873 {
874 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "noClasspathResolutionOption", locale, null );
875 assert _m != null : "'noClasspathResolutionOption' message not found.";
876 return _m;
877 }
878
879 /**
880 * Gets the text of the {@code separator} message.
881 * <p><b>Templates</b><br/><table>
882 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
883 * </table></p>
884 * @param locale The locale of the message to return.
885 * @return The text of the {@code separator} message.
886 *
887 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
888 */
889 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
890 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
891 private String getSeparatorMessage( final java.util.Locale locale )
892 {
893 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale, null );
894 assert _m != null : "'separator' message not found.";
895 return _m;
896 }
897
898 /**
899 * Gets the text of the {@code shortDescription} message.
900 * <p><b>Templates</b><br/><table>
901 * <tr><td valign="top">English:</td><td valign="top"><pre>Validates Java class files.</pre></td></tr>
902 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Prüft Java Klassendateien.</pre></td></tr>
903 * </table></p>
904 * @param locale The locale of the message to return.
905 * @return The text of the {@code shortDescription} message.
906 *
907 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
908 */
909 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
910 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
911 private String getShortDescriptionMessage( final java.util.Locale locale )
912 {
913 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescription", locale, null );
914 assert _m != null : "'shortDescription' message not found.";
915 return _m;
916 }
917
918 /**
919 * Gets the text of the {@code startingModuleProcessing} message.
920 * <p><b>Templates</b><br/><table>
921 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
922 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Führt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
923 * </table></p>
924 * @param locale The locale of the message to return.
925 * @param toolName Format argument.
926 * @param moduleName Format argument.
927 * @return The text of the {@code startingModuleProcessing} message.
928 *
929 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
930 */
931 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
932 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
933 private String getStartingModuleProcessingMessage( final java.util.Locale locale, final java.lang.String toolName, final java.lang.String moduleName )
934 {
935 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingModuleProcessing", locale, new Object[] { toolName, moduleName, null } );
936 assert _m != null : "'startingModuleProcessing' message not found.";
937 return _m;
938 }
939
940 /**
941 * Gets the text of the {@code startingProcessing} message.
942 * <p><b>Templates</b><br/><table>
943 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
944 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Führt Befehl {0} aus ... </pre></td></tr>
945 * </table></p>
946 * @param locale The locale of the message to return.
947 * @param toolName Format argument.
948 * @return The text of the {@code startingProcessing} message.
949 *
950 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
951 */
952 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
953 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
954 private String getStartingProcessingMessage( final java.util.Locale locale, final java.lang.String toolName )
955 {
956 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingProcessing", locale, new Object[] { toolName, null } );
957 assert _m != null : "'startingProcessing' message not found.";
958 return _m;
959 }
960
961 /**
962 * Gets the text of the {@code toolFailure} message.
963 * <p><b>Templates</b><br/><table>
964 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
965 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
966 * </table></p>
967 * @param locale The locale of the message to return.
968 * @param toolName Format argument.
969 * @return The text of the {@code toolFailure} message.
970 *
971 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
972 */
973 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
974 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
975 private String getToolFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
976 {
977 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolFailure", locale, new Object[] { toolName, null } );
978 assert _m != null : "'toolFailure' message not found.";
979 return _m;
980 }
981
982 /**
983 * Gets the text of the {@code toolSuccess} message.
984 * <p><b>Templates</b><br/><table>
985 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
986 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
987 * </table></p>
988 * @param locale The locale of the message to return.
989 * @param toolName Format argument.
990 * @return The text of the {@code toolSuccess} message.
991 *
992 * @throws org.jomc.ObjectManagementException if getting the message instance fails.
993 */
994 @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
995 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools" )
996 private String getToolSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
997 {
998 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolSuccess", locale, new Object[] { toolName, null } );
999 assert _m != null : "'toolSuccess' message not found.";
1000 return _m;
1001 }
1002 // </editor-fold>
1003 // SECTION-END
1004 }