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