EMMA Coverage Report (generated Wed Feb 03 01:24:19 UTC 2010)
[all classes][org.jomc.cli.commands]

COVERAGE SUMMARY FOR SOURCE FILE [ManageJavaSourcesCommand.java]

nameclass, %method, %block, %line, %
ManageJavaSourcesCommand.java100% (1/1)39%  (14/36)37%  (348/945)45%  (64.1/141)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ManageJavaSourcesCommand100% (1/1)39%  (14/36)37%  (348/945)45%  (64.1/141)
getAbbreviatedCommandName (): String 0%   (0/1)0%   (0/20)0%   (0/3)
getApplicationTitleMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getCannotProcessMessage (Locale, String, String): String 0%   (0/1)0%   (0/30)0%   (0/3)
getClasspathElementMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getClasspathOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getDefaultLogLevelInfoMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getDocumentFileMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getDocumentsOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getInvalidModelMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getLongDescriptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getModuleLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getModulesReportMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getNoClasspathResolutionOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getNoModelProcessingOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getSchemaLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getSeparatorMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getServiceLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
getShortDescriptionMessage (Locale): String 0%   (0/1)0%   (0/22)0%   (0/3)
getStartingProcessingMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getToolFailureMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getToolSuccessMessage (Locale, String): String 0%   (0/1)0%   (0/26)0%   (0/3)
getTransformerLocationOption (): Option 0%   (0/1)0%   (0/20)0%   (0/3)
executeCommand (CommandLine): int 100% (1/1)74%  (133/180)76%  (26/34)
<static initializer> 100% (1/1)75%  (6/8)75%  (0.8/1)
getCommandName (): String 100% (1/1)75%  (15/20)91%  (2.7/3)
getInputEncodingOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getLocale (): Locale 100% (1/1)75%  (15/20)91%  (2.7/3)
getModuleNameOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getOutputEncodingOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getProfileOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getSourceDirectoryOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getTemplateEncodingOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getMissingModuleMessage (Locale, String): String 100% (1/1)81%  (21/26)93%  (2.8/3)
getStartingModuleProcessingMessage (Locale, String, String): String 100% (1/1)83%  (25/30)94%  (2.8/3)
ManageJavaSourcesCommand (): void 100% (1/1)100% (3/3)100% (2/2)
getOptions (): Options 100% (1/1)100% (40/40)100% (8/8)

1// SECTION-START[License Header]
2// <editor-fold defaultstate="collapsed" desc=" Generated License ">
3/*
4 *   Copyright (c) 2010 The JOMC Project
5 *   Copyright (c) 2005 Christian Schulte <cs@jomc.org>
6 *   All rights reserved.
7 *
8 *   Redistribution and use in source and binary forms, with or without
9 *   modification, are permitted provided that the following conditions
10 *   are met:
11 *
12 *     o Redistributions of source code must retain the above copyright
13 *       notice, this list of conditions and the following disclaimer.
14 *
15 *     o Redistributions in binary form must reproduce the above copyright
16 *       notice, this list of conditions and the following disclaimer in
17 *       the documentation and/or other materials provided with the
18 *       distribution.
19 *
20 *   THIS SOFTWARE IS PROVIDED BY THE JOMC PROJECT AND CONTRIBUTORS "AS IS"
21 *   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 *   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 *   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JOMC PROJECT OR
24 *   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 *   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 *   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 *   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 *   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 *   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
30 *   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *   $Id: ManageJavaSourcesCommand.java 1452 2010-02-02 05:35:30Z schulte2005 $
33 *
34 */
35// </editor-fold>
36// SECTION-END
37package org.jomc.cli.commands;
38 
39import java.io.File;
40import java.util.logging.Level;
41import javax.xml.bind.JAXBContext;
42import javax.xml.bind.Marshaller;
43import javax.xml.bind.util.JAXBSource;
44import org.apache.commons.cli.CommandLine;
45import org.apache.commons.cli.Options;
46import org.jomc.model.ModelContext;
47import org.jomc.model.ModelValidationReport;
48import org.jomc.model.Module;
49import org.jomc.model.Modules;
50import org.jomc.model.ObjectFactory;
51import org.jomc.tools.JavaSources;
52 
53// SECTION-START[Documentation]
54// <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
55/**
56 * Command line interface for the {@code JavaSources} tool.
57 * <p><b>Specifications</b><ul>
58 * <li>{@code org.jomc.cli.Command} {@code 1.0} {@code Multiton}</li>
59 * </ul></p>
60 * <p><b>Properties</b><ul>
61 * <li>"{@link #getAbbreviatedCommandName abbreviatedCommandName}"
62 * <blockquote>Property of type {@code java.lang.String}.
63 * <p>Abbreviated name of the command.</p>
64 * </blockquote></li>
65 * <li>"{@link #getCommandName commandName}"
66 * <blockquote>Property of type {@code java.lang.String}.
67 * <p>Name of the command.</p>
68 * </blockquote></li>
69 * </ul></p>
70 * <p><b>Dependencies</b><ul>
71 * <li>"{@link #getClasspathOption ClasspathOption}"<blockquote>
72 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
73 * <li>"{@link #getDocumentsOption DocumentsOption}"<blockquote>
74 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
75 * <li>"{@link #getInputEncodingOption InputEncodingOption}"<blockquote>
76 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
77 * <li>"{@link #getLocale Locale}"<blockquote>
78 * Dependency on {@code java.util.Locale} at specification level 1.1 bound to an instance.</blockquote></li>
79 * <li>"{@link #getModuleLocationOption ModuleLocationOption}"<blockquote>
80 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
81 * <li>"{@link #getModuleNameOption ModuleNameOption}"<blockquote>
82 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
83 * <li>"{@link #getNoClasspathResolutionOption NoClasspathResolutionOption}"<blockquote>
84 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
85 * <li>"{@link #getNoModelProcessingOption NoModelProcessingOption}"<blockquote>
86 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
87 * <li>"{@link #getOutputEncodingOption OutputEncodingOption}"<blockquote>
88 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
89 * <li>"{@link #getProfileOption ProfileOption}"<blockquote>
90 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
91 * <li>"{@link #getSchemaLocationOption SchemaLocationOption}"<blockquote>
92 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
93 * <li>"{@link #getServiceLocationOption ServiceLocationOption}"<blockquote>
94 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
95 * <li>"{@link #getSourceDirectoryOption SourceDirectoryOption}"<blockquote>
96 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
97 * <li>"{@link #getTemplateEncodingOption TemplateEncodingOption}"<blockquote>
98 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
99 * <li>"{@link #getTransformerLocationOption TransformerLocationOption}"<blockquote>
100 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
101 * </ul></p>
102 * <p><b>Messages</b><ul>
103 * <li>"{@link #getApplicationTitleMessage applicationTitle}"<table>
104 * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-16 Build 2010-02-02T05:28:08+0000</pre></td></tr>
105 * </table>
106 * <li>"{@link #getCannotProcessMessage cannotProcess}"<table>
107 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
108 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
109 * </table>
110 * <li>"{@link #getClasspathElementMessage classpathElement}"<table>
111 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
112 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
113 * </table>
114 * <li>"{@link #getDefaultLogLevelInfoMessage defaultLogLevelInfo}"<table>
115 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
116 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
117 * </table>
118 * <li>"{@link #getDocumentFileMessage documentFile}"<table>
119 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
120 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
121 * </table>
122 * <li>"{@link #getInvalidModelMessage invalidModel}"<table>
123 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
124 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
125 * </table>
126 * <li>"{@link #getLongDescriptionMessage longDescription}"<table>
127 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
128 *   jomc manage-java-sources -cp &lt;classpath&gt; \
129 *                            -sd /tmp/src \
130 *                            -df examples/xml/jomc-cli.xml \
131 *                            -mn &quot;JOMC CLI&quot; \
132 *                            -v</pre></td></tr>
133 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
134 *   jomc manage-java-sources -cp &lt;classpath&gt; \
135 *                            -sd /tmp/src \
136 *                            -df examples/xml/jomc-cli.xml \
137 *                            -mn &quot;JOMC CLI&quot; \
138 *                            -v</pre></td></tr>
139 * </table>
140 * <li>"{@link #getMissingModuleMessage missingModule}"<table>
141 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
142 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
143 * </table>
144 * <li>"{@link #getModulesReportMessage modulesReport}"<table>
145 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
146 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
147 * </table>
148 * <li>"{@link #getSeparatorMessage separator}"<table>
149 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
150 * </table>
151 * <li>"{@link #getShortDescriptionMessage shortDescription}"<table>
152 * <tr><td valign="top">English:</td><td valign="top"><pre>Manages Java source files.</pre></td></tr>
153 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Verwaltet Java Quelltext-Dateien.</pre></td></tr>
154 * </table>
155 * <li>"{@link #getStartingModuleProcessingMessage startingModuleProcessing}"<table>
156 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
157 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
158 * </table>
159 * <li>"{@link #getStartingProcessingMessage startingProcessing}"<table>
160 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
161 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
162 * </table>
163 * <li>"{@link #getToolFailureMessage toolFailure}"<table>
164 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
165 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
166 * </table>
167 * <li>"{@link #getToolSuccessMessage toolSuccess}"<table>
168 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
169 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
170 * </table>
171 * </ul></p>
172 *
173 * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
174 * @version $Id: ManageJavaSourcesCommand.java 1452 2010-02-02 05:35:30Z schulte2005 $
175 */
176// </editor-fold>
177// SECTION-END
178// SECTION-START[Annotations]
179// <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
180@javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
181                             comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
182// </editor-fold>
183// SECTION-END
184public final class ManageJavaSourcesCommand extends AbstractJomcCommand
185{
186    // SECTION-START[Command]
187 
188    /** Options of the instance. */
189    private Options options;
190 
191    @Override
192    public Options getOptions()
193    {
194        if ( this.options == null )
195        {
196            this.options = super.getOptions();
197            this.options.addOption( this.getSourceDirectoryOption() );
198            this.options.addOption( this.getProfileOption() );
199            this.options.addOption( this.getTemplateEncodingOption() );
200            this.options.addOption( this.getInputEncodingOption() );
201            this.options.addOption( this.getOutputEncodingOption() );
202        }
203 
204        return this.options;
205    }
206 
207    public int executeCommand( final CommandLine commandLine ) throws Exception
208    {
209        final ClassLoader classLoader = this.getClassLoader( commandLine );
210        final ModelContext context = this.getModelContext( classLoader );
211        final Modules modules = this.getModules( context, commandLine );
212        final JAXBContext jaxbContext = context.createContext();
213        final Marshaller marshaller = context.createMarshaller();
214        final ModelValidationReport validationReport =
215            context.validateModel( new JAXBSource( jaxbContext, new ObjectFactory().createModules( modules ) ) );
216 
217        this.log( validationReport, marshaller );
218 
219        if ( validationReport.isModelValid() )
220        {
221            final JavaSources tool = this.getJavaSources();
222            tool.setModules( modules );
223 
224            if ( commandLine.hasOption( this.getProfileOption().getOpt() ) )
225            {
226                tool.setProfile( commandLine.getOptionValue( this.getProfileOption().getOpt() ) );
227            }
228            if ( commandLine.hasOption( this.getTemplateEncodingOption().getOpt() ) )
229            {
230                tool.setTemplateEncoding( commandLine.getOptionValue( this.getTemplateEncodingOption().getOpt() ) );
231            }
232            if ( commandLine.hasOption( this.getInputEncodingOption().getOpt() ) )
233            {
234                tool.setInputEncoding( commandLine.getOptionValue( this.getInputEncodingOption().getOpt() ) );
235            }
236            if ( commandLine.hasOption( this.getOutputEncodingOption().getOpt() ) )
237            {
238                tool.setOutputEncoding( commandLine.getOptionValue( this.getOutputEncodingOption().getOpt() ) );
239            }
240 
241            final File sourcesDirectory =
242                new File( commandLine.getOptionValue( this.getSourceDirectoryOption().getOpt() ) );
243 
244            if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
245            {
246                final String moduleName = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
247                final Module module = tool.getModules().getModule( moduleName );
248 
249                if ( module != null )
250                {
251                    if ( this.isLoggable( Level.INFO ) )
252                    {
253                        this.log( Level.INFO, this.getStartingModuleProcessingMessage(
254                            this.getLocale(), this.getCommandName(), module.getName() ), null );
255 
256                    }
257 
258                    tool.manageSources( module, sourcesDirectory );
259                }
260                else if ( this.isLoggable( Level.WARNING ) )
261                {
262                    this.log( Level.WARNING, this.getMissingModuleMessage( this.getLocale(), moduleName ), null );
263                }
264            }
265            else
266            {
267                if ( this.isLoggable( Level.INFO ) )
268                {
269                    this.log( Level.INFO, this.getStartingProcessingMessage(
270                        this.getLocale(), this.getCommandName() ), null );
271 
272                }
273 
274                tool.manageSources( sourcesDirectory );
275            }
276 
277            return STATUS_SUCCESS;
278        }
279 
280        return STATUS_FAILURE;
281    }
282 
283    // SECTION-END
284    // SECTION-START[ManageJavaSourcesCommand]
285    // SECTION-END
286    // SECTION-START[Constructors]
287    // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
288 
289    /** Creates a new {@code ManageJavaSourcesCommand} instance. */
290    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
291                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
292    public ManageJavaSourcesCommand()
293    {
294        // SECTION-START[Default Constructor]
295        super();
296        // SECTION-END
297    }
298    // </editor-fold>
299    // SECTION-END
300    // SECTION-START[Dependencies]
301    // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
302 
303    /**
304     * Gets the {@code ClasspathOption} dependency.
305     * <p>This method returns the "{@code JOMC CLI Classpath Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
306     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
307     * @return The {@code ClasspathOption} dependency.
308     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
309     */
310    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
311                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
312    private org.apache.commons.cli.Option getClasspathOption()
313    {
314        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
315        assert _d != null : "'ClasspathOption' dependency not found.";
316        return _d;
317    }
318 
319    /**
320     * Gets the {@code DocumentsOption} dependency.
321     * <p>This method returns the "{@code JOMC CLI Documents Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
322     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
323     * @return The {@code DocumentsOption} dependency.
324     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
325     */
326    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
327                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
328    private org.apache.commons.cli.Option getDocumentsOption()
329    {
330        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
331        assert _d != null : "'DocumentsOption' dependency not found.";
332        return _d;
333    }
334 
335    /**
336     * Gets the {@code InputEncodingOption} dependency.
337     * <p>This method returns the "{@code JOMC CLI Input Encoding Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
338     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
339     * @return The {@code InputEncodingOption} dependency.
340     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
341     */
342    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
343                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
344    private org.apache.commons.cli.Option getInputEncodingOption()
345    {
346        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" );
347        assert _d != null : "'InputEncodingOption' dependency not found.";
348        return _d;
349    }
350 
351    /**
352     * Gets the {@code Locale} dependency.
353     * <p>This method returns the "{@code default}" object of the {@code java.util.Locale} specification at specification level 1.1.</p>
354     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
355     * @return The {@code Locale} dependency.
356     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
357     */
358    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
359                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
360    private java.util.Locale getLocale()
361    {
362        final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
363        assert _d != null : "'Locale' dependency not found.";
364        return _d;
365    }
366 
367    /**
368     * Gets the {@code ModuleLocationOption} dependency.
369     * <p>This method returns the "{@code JOMC CLI Module Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
370     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
371     * @return The {@code ModuleLocationOption} dependency.
372     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
373     */
374    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
375                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
376    private org.apache.commons.cli.Option getModuleLocationOption()
377    {
378        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
379        assert _d != null : "'ModuleLocationOption' dependency not found.";
380        return _d;
381    }
382 
383    /**
384     * Gets the {@code ModuleNameOption} dependency.
385     * <p>This method returns the "{@code JOMC CLI Module Name Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
386     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
387     * @return The {@code ModuleNameOption} dependency.
388     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
389     */
390    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
391                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
392    private org.apache.commons.cli.Option getModuleNameOption()
393    {
394        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
395        assert _d != null : "'ModuleNameOption' dependency not found.";
396        return _d;
397    }
398 
399    /**
400     * Gets the {@code NoClasspathResolutionOption} dependency.
401     * <p>This method returns the "{@code JOMC CLI No Classpath Resolution Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
402     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
403     * @return The {@code NoClasspathResolutionOption} dependency.
404     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
405     */
406    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
407                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
408    private org.apache.commons.cli.Option getNoClasspathResolutionOption()
409    {
410        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
411        assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
412        return _d;
413    }
414 
415    /**
416     * Gets the {@code NoModelProcessingOption} dependency.
417     * <p>This method returns the "{@code JOMC CLI No Model Processing Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
418     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
419     * @return The {@code NoModelProcessingOption} dependency.
420     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
421     */
422    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
423                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
424    private org.apache.commons.cli.Option getNoModelProcessingOption()
425    {
426        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
427        assert _d != null : "'NoModelProcessingOption' dependency not found.";
428        return _d;
429    }
430 
431    /**
432     * Gets the {@code OutputEncodingOption} dependency.
433     * <p>This method returns the "{@code JOMC CLI Output Encoding Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
434     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
435     * @return The {@code OutputEncodingOption} dependency.
436     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
437     */
438    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
439                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
440    private org.apache.commons.cli.Option getOutputEncodingOption()
441    {
442        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" );
443        assert _d != null : "'OutputEncodingOption' dependency not found.";
444        return _d;
445    }
446 
447    /**
448     * Gets the {@code ProfileOption} dependency.
449     * <p>This method returns the "{@code JOMC CLI Profile Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
450     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
451     * @return The {@code ProfileOption} dependency.
452     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
453     */
454    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
455                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
456    private org.apache.commons.cli.Option getProfileOption()
457    {
458        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProfileOption" );
459        assert _d != null : "'ProfileOption' dependency not found.";
460        return _d;
461    }
462 
463    /**
464     * Gets the {@code SchemaLocationOption} dependency.
465     * <p>This method returns the "{@code JOMC CLI Schema Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
466     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
467     * @return The {@code SchemaLocationOption} dependency.
468     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
469     */
470    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
471                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
472    private org.apache.commons.cli.Option getSchemaLocationOption()
473    {
474        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SchemaLocationOption" );
475        assert _d != null : "'SchemaLocationOption' dependency not found.";
476        return _d;
477    }
478 
479    /**
480     * Gets the {@code ServiceLocationOption} dependency.
481     * <p>This method returns the "{@code JOMC CLI Service Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
482     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
483     * @return The {@code ServiceLocationOption} dependency.
484     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
485     */
486    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
487                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
488    private org.apache.commons.cli.Option getServiceLocationOption()
489    {
490        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ServiceLocationOption" );
491        assert _d != null : "'ServiceLocationOption' dependency not found.";
492        return _d;
493    }
494 
495    /**
496     * Gets the {@code SourceDirectoryOption} dependency.
497     * <p>This method returns the "{@code JOMC CLI Source Directory Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
498     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
499     * <p><b>Properties</b><dl>
500     * <dt>"{@code required}"</dt>
501     * <dd>Property of type {@code boolean}.
502     * </dd>
503     * </dl>
504     * @return The {@code SourceDirectoryOption} dependency.
505     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
506     */
507    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
508                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
509    private org.apache.commons.cli.Option getSourceDirectoryOption()
510    {
511        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceDirectoryOption" );
512        assert _d != null : "'SourceDirectoryOption' dependency not found.";
513        return _d;
514    }
515 
516    /**
517     * Gets the {@code TemplateEncodingOption} dependency.
518     * <p>This method returns the "{@code JOMC CLI Template Encoding Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
519     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
520     * @return The {@code TemplateEncodingOption} dependency.
521     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
522     */
523    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
524                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
525    private org.apache.commons.cli.Option getTemplateEncodingOption()
526    {
527        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" );
528        assert _d != null : "'TemplateEncodingOption' dependency not found.";
529        return _d;
530    }
531 
532    /**
533     * Gets the {@code TransformerLocationOption} dependency.
534     * <p>This method returns the "{@code JOMC CLI Transformer Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
535     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
536     * @return The {@code TransformerLocationOption} dependency.
537     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
538     */
539    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
540                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
541    private org.apache.commons.cli.Option getTransformerLocationOption()
542    {
543        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
544        assert _d != null : "'TransformerLocationOption' dependency not found.";
545        return _d;
546    }
547    // </editor-fold>
548    // SECTION-END
549    // SECTION-START[Properties]
550    // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
551 
552    /**
553     * Gets the value of the {@code abbreviatedCommandName} property.
554     * @return Abbreviated name of the command.
555     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
556     */
557    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
558                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
559    private java.lang.String getAbbreviatedCommandName()
560    {
561        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
562        assert _p != null : "'abbreviatedCommandName' property not found.";
563        return _p;
564    }
565 
566    /**
567     * Gets the value of the {@code commandName} property.
568     * @return Name of the command.
569     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
570     */
571    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
572                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
573    private java.lang.String getCommandName()
574    {
575        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
576        assert _p != null : "'commandName' property not found.";
577        return _p;
578    }
579    // </editor-fold>
580    // SECTION-END
581    // SECTION-START[Messages]
582    // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
583 
584    /**
585     * Gets the text of the {@code applicationTitle} message.
586     * <p><b>Templates</b><br/><table>
587     * <tr><td valign="top">English:</td><td valign="top"><pre>JOMC Version 1.0-alpha-16 Build 2010-02-02T05:28:08+0000</pre></td></tr>
588     * </table></p>
589     * @param locale The locale of the message to return.
590     * @return The text of the {@code applicationTitle} message.
591     *
592     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
593     */
594    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
595                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
596    private String getApplicationTitleMessage( final java.util.Locale locale )
597    {
598        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
599        assert _m != null : "'applicationTitle' message not found.";
600        return _m;
601    }
602 
603    /**
604     * Gets the text of the {@code cannotProcess} message.
605     * <p><b>Templates</b><br/><table>
606     * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
607     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
608     * </table></p>
609     * @param locale The locale of the message to return.
610     * @param itemInfo Format argument.
611     * @param detailMessage Format argument.
612     * @return The text of the {@code cannotProcess} message.
613     *
614     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
615     */
616    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
617                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
618    private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
619    {
620        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcess", locale, itemInfo, detailMessage );
621        assert _m != null : "'cannotProcess' message not found.";
622        return _m;
623    }
624 
625    /**
626     * Gets the text of the {@code classpathElement} message.
627     * <p><b>Templates</b><br/><table>
628     * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
629     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
630     * </table></p>
631     * @param locale The locale of the message to return.
632     * @param classpathElement Format argument.
633     * @return The text of the {@code classpathElement} message.
634     *
635     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
636     */
637    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
638                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
639    private String getClasspathElementMessage( final java.util.Locale locale, final java.lang.String classpathElement )
640    {
641        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElement", locale, classpathElement );
642        assert _m != null : "'classpathElement' message not found.";
643        return _m;
644    }
645 
646    /**
647     * Gets the text of the {@code defaultLogLevelInfo} message.
648     * <p><b>Templates</b><br/><table>
649     * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
650     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
651     * </table></p>
652     * @param locale The locale of the message to return.
653     * @param defaultLogLevel Format argument.
654     * @return The text of the {@code defaultLogLevelInfo} message.
655     *
656     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
657     */
658    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
659                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
660    private String getDefaultLogLevelInfoMessage( final java.util.Locale locale, final java.lang.String defaultLogLevel )
661    {
662        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
663        assert _m != null : "'defaultLogLevelInfo' message not found.";
664        return _m;
665    }
666 
667    /**
668     * Gets the text of the {@code documentFile} message.
669     * <p><b>Templates</b><br/><table>
670     * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
671     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
672     * </table></p>
673     * @param locale The locale of the message to return.
674     * @param documentFile Format argument.
675     * @return The text of the {@code documentFile} message.
676     *
677     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
678     */
679    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
680                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
681    private String getDocumentFileMessage( final java.util.Locale locale, final java.lang.String documentFile )
682    {
683        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFile", locale, documentFile );
684        assert _m != null : "'documentFile' message not found.";
685        return _m;
686    }
687 
688    /**
689     * Gets the text of the {@code invalidModel} message.
690     * <p><b>Templates</b><br/><table>
691     * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
692     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
693     * </table></p>
694     * @param locale The locale of the message to return.
695     * @return The text of the {@code invalidModel} message.
696     *
697     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
698     */
699    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
700                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
701    private String getInvalidModelMessage( final java.util.Locale locale )
702    {
703        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModel", locale );
704        assert _m != null : "'invalidModel' message not found.";
705        return _m;
706    }
707 
708    /**
709     * Gets the text of the {@code longDescription} message.
710     * <p><b>Templates</b><br/><table>
711     * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
712     *   jomc manage-java-sources -cp &lt;classpath&gt; \
713     *                            -sd /tmp/src \
714     *                            -df examples/xml/jomc-cli.xml \
715     *                            -mn &quot;JOMC CLI&quot; \
716     *                            -v</pre></td></tr>
717     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
718     *   jomc manage-java-sources -cp &lt;classpath&gt; \
719     *                            -sd /tmp/src \
720     *                            -df examples/xml/jomc-cli.xml \
721     *                            -mn &quot;JOMC CLI&quot; \
722     *                            -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-16/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 );
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-16/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, moduleName );
755        assert _m != null : "'missingModule' message not found.";
756        return _m;
757    }
758 
759    /**
760     * Gets the text of the {@code modulesReport} message.
761     * <p><b>Templates</b><br/><table>
762     * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
763     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
764     * </table></p>
765     * @param locale The locale of the message to return.
766     * @return The text of the {@code modulesReport} 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-16/jomc-tools" )
772    private String getModulesReportMessage( final java.util.Locale locale )
773    {
774        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "modulesReport", locale );
775        assert _m != null : "'modulesReport' message not found.";
776        return _m;
777    }
778 
779    /**
780     * Gets the text of the {@code separator} message.
781     * <p><b>Templates</b><br/><table>
782     * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
783     * </table></p>
784     * @param locale The locale of the message to return.
785     * @return The text of the {@code separator} message.
786     *
787     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
788     */
789    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
790                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
791    private String getSeparatorMessage( final java.util.Locale locale )
792    {
793        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
794        assert _m != null : "'separator' message not found.";
795        return _m;
796    }
797 
798    /**
799     * Gets the text of the {@code shortDescription} message.
800     * <p><b>Templates</b><br/><table>
801     * <tr><td valign="top">English:</td><td valign="top"><pre>Manages Java source files.</pre></td></tr>
802     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Verwaltet Java Quelltext-Dateien.</pre></td></tr>
803     * </table></p>
804     * @param locale The locale of the message to return.
805     * @return The text of the {@code shortDescription} message.
806     *
807     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
808     */
809    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
810                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
811    private String getShortDescriptionMessage( final java.util.Locale locale )
812    {
813        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescription", locale );
814        assert _m != null : "'shortDescription' message not found.";
815        return _m;
816    }
817 
818    /**
819     * Gets the text of the {@code startingModuleProcessing} message.
820     * <p><b>Templates</b><br/><table>
821     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
822     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
823     * </table></p>
824     * @param locale The locale of the message to return.
825     * @param toolName Format argument.
826     * @param moduleName Format argument.
827     * @return The text of the {@code startingModuleProcessing} message.
828     *
829     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
830     */
831    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
832                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
833    private String getStartingModuleProcessingMessage( final java.util.Locale locale, final java.lang.String toolName, final java.lang.String moduleName )
834    {
835        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingModuleProcessing", locale, toolName, moduleName );
836        assert _m != null : "'startingModuleProcessing' message not found.";
837        return _m;
838    }
839 
840    /**
841     * Gets the text of the {@code startingProcessing} message.
842     * <p><b>Templates</b><br/><table>
843     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
844     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
845     * </table></p>
846     * @param locale The locale of the message to return.
847     * @param toolName Format argument.
848     * @return The text of the {@code startingProcessing} message.
849     *
850     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
851     */
852    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
853                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
854    private String getStartingProcessingMessage( final java.util.Locale locale, final java.lang.String toolName )
855    {
856        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingProcessing", locale, toolName );
857        assert _m != null : "'startingProcessing' message not found.";
858        return _m;
859    }
860 
861    /**
862     * Gets the text of the {@code toolFailure} message.
863     * <p><b>Templates</b><br/><table>
864     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
865     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
866     * </table></p>
867     * @param locale The locale of the message to return.
868     * @param toolName Format argument.
869     * @return The text of the {@code toolFailure} message.
870     *
871     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
872     */
873    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
874                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
875    private String getToolFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
876    {
877        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolFailure", locale, toolName );
878        assert _m != null : "'toolFailure' message not found.";
879        return _m;
880    }
881 
882    /**
883     * Gets the text of the {@code toolSuccess} message.
884     * <p><b>Templates</b><br/><table>
885     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
886     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
887     * </table></p>
888     * @param locale The locale of the message to return.
889     * @param toolName Format argument.
890     * @return The text of the {@code toolSuccess} message.
891     *
892     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
893     */
894    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
895                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
896    private String getToolSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
897    {
898        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolSuccess", locale, toolName );
899        assert _m != null : "'toolSuccess' message not found.";
900        return _m;
901    }
902    // </editor-fold>
903    // SECTION-END
904}

[all classes][org.jomc.cli.commands]
EMMA 2.0.5312 (C) Vladimir Roubtsov