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

COVERAGE SUMMARY FOR SOURCE FILE [CommitJavaClassesCommand.java]

nameclass, %method, %block, %line, %
CommitJavaClassesCommand.java100% (1/1)31%  (10/32)30%  (241/791)39%  (45.2/117)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CommitJavaClassesCommand100% (1/1)31%  (10/32)30%  (241/791)39%  (45.2/117)
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)
<static initializer> 100% (1/1)75%  (6/8)75%  (0.8/1)
getClassesDirectoryOption (): Option 100% (1/1)75%  (15/20)91%  (2.7/3)
getCommandName (): String 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)
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)
executeCommand (CommandLine): int 100% (1/1)85%  (110/130)85%  (22/26)
CommitJavaClassesCommand (): void 100% (1/1)100% (3/3)100% (2/2)
getOptions (): Options 100% (1/1)100% (16/16)100% (4/4)

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: CommitJavaClassesCommand.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.JavaClasses;
52 
53// SECTION-START[Documentation]
54// <editor-fold defaultstate="collapsed" desc=" Generated Documentation ">
55/**
56 * Command line interface for committing Java classes with the {@code JavaClasses} 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 #getClassesDirectoryOption ClassesDirectoryOption}"<blockquote>
72 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
73 * <li>"{@link #getClasspathOption ClasspathOption}"<blockquote>
74 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
75 * <li>"{@link #getDocumentsOption DocumentsOption}"<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 #getSchemaLocationOption SchemaLocationOption}"<blockquote>
88 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
89 * <li>"{@link #getServiceLocationOption ServiceLocationOption}"<blockquote>
90 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
91 * <li>"{@link #getTransformerLocationOption TransformerLocationOption}"<blockquote>
92 * Dependency on {@code org.apache.commons.cli.Option} bound to an instance.</blockquote></li>
93 * </ul></p>
94 * <p><b>Messages</b><ul>
95 * <li>"{@link #getApplicationTitleMessage applicationTitle}"<table>
96 * <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>
97 * </table>
98 * <li>"{@link #getCannotProcessMessage cannotProcess}"<table>
99 * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
100 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
101 * </table>
102 * <li>"{@link #getClasspathElementMessage classpathElement}"<table>
103 * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
104 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
105 * </table>
106 * <li>"{@link #getDefaultLogLevelInfoMessage defaultLogLevelInfo}"<table>
107 * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
108 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
109 * </table>
110 * <li>"{@link #getDocumentFileMessage documentFile}"<table>
111 * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
112 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
113 * </table>
114 * <li>"{@link #getInvalidModelMessage invalidModel}"<table>
115 * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
116 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
117 * </table>
118 * <li>"{@link #getLongDescriptionMessage longDescription}"<table>
119 * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
120 *   jomc commit-java-classes -cp &lt;classpath&gt; \
121 *                            -df examples/xml/jomc-cli.xml \
122 *                            -cd target/classes \
123 *                            -mn &quot;JOMC CLI&quot; \
124 *                            -v</pre></td></tr>
125 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
126 *   jomc commit-java-classes -cp &lt;classpath&gt; \
127 *                            -df examples/xml/jomc-cli.xml \
128 *                            -cd target/classes \
129 *                            -mn &quot;JOMC CLI&quot; \
130 *                            -v</pre></td></tr>
131 * </table>
132 * <li>"{@link #getMissingModuleMessage missingModule}"<table>
133 * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
134 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
135 * </table>
136 * <li>"{@link #getModulesReportMessage modulesReport}"<table>
137 * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
138 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
139 * </table>
140 * <li>"{@link #getSeparatorMessage separator}"<table>
141 * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
142 * </table>
143 * <li>"{@link #getShortDescriptionMessage shortDescription}"<table>
144 * <tr><td valign="top">English:</td><td valign="top"><pre>Commits Java class files.</pre></td></tr>
145 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schreibt Java Klassendateien fest.</pre></td></tr>
146 * </table>
147 * <li>"{@link #getStartingModuleProcessingMessage startingModuleProcessing}"<table>
148 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
149 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
150 * </table>
151 * <li>"{@link #getStartingProcessingMessage startingProcessing}"<table>
152 * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
153 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
154 * </table>
155 * <li>"{@link #getToolFailureMessage toolFailure}"<table>
156 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
157 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
158 * </table>
159 * <li>"{@link #getToolSuccessMessage toolSuccess}"<table>
160 * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
161 * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
162 * </table>
163 * </ul></p>
164 *
165 * @author <a href="mailto:cs@jomc.org">Christian Schulte</a> 1.0
166 * @version $Id: CommitJavaClassesCommand.java 1452 2010-02-02 05:35:30Z schulte2005 $
167 */
168// </editor-fold>
169// SECTION-END
170// SECTION-START[Annotations]
171// <editor-fold defaultstate="collapsed" desc=" Generated Annotations ">
172@javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
173                             comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
174// </editor-fold>
175// SECTION-END
176public final class CommitJavaClassesCommand extends AbstractJomcCommand
177{
178    // SECTION-START[Command]
179 
180    /** Options of the instance. */
181    private Options options;
182 
183    @Override
184    public Options getOptions()
185    {
186        if ( this.options == null )
187        {
188            this.options = super.getOptions();
189            this.options.addOption( this.getClassesDirectoryOption() );
190        }
191 
192        return this.options;
193    }
194 
195    public int executeCommand( final CommandLine commandLine ) throws Exception
196    {
197        final ClassLoader classLoader = this.getClassLoader( commandLine );
198        final ModelContext context = this.getModelContext( classLoader );
199        final Modules modules = this.getModules( context, commandLine );
200        final JAXBContext jaxbContext = context.createContext();
201        final Marshaller marshaller = context.createMarshaller();
202        final ModelValidationReport validationReport =
203            context.validateModel( new JAXBSource( jaxbContext, new ObjectFactory().createModules( modules ) ) );
204 
205        this.log( validationReport, marshaller );
206 
207        if ( validationReport.isModelValid() )
208        {
209            final JavaClasses tool = this.getJavaClasses();
210            tool.setModules( modules );
211 
212            final File classesDirectory = new File( commandLine.getOptionValue(
213                this.getClassesDirectoryOption().getOpt() ) );
214 
215            if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) )
216            {
217                final String moduleName = commandLine.getOptionValue( this.getModuleNameOption().getOpt() );
218                final Module module = tool.getModules().getModule( moduleName );
219 
220                if ( module != null )
221                {
222                    if ( this.isLoggable( Level.INFO ) )
223                    {
224                        this.log( Level.INFO, this.getStartingModuleProcessingMessage(
225                            this.getLocale(), this.getCommandName(), module.getName() ), null );
226 
227                    }
228 
229                    tool.commitClasses( module, marshaller, classesDirectory );
230                }
231                else if ( this.isLoggable( Level.WARNING ) )
232                {
233                    this.log( Level.WARNING, this.getMissingModuleMessage( this.getLocale(), moduleName ), null );
234                }
235            }
236            else
237            {
238                if ( this.isLoggable( Level.INFO ) )
239                {
240                    this.log( Level.INFO, this.getStartingProcessingMessage(
241                        this.getLocale(), this.getCommandName() ), null );
242 
243                }
244 
245                tool.commitClasses( marshaller, classesDirectory );
246            }
247 
248            return STATUS_SUCCESS;
249        }
250 
251        return STATUS_FAILURE;
252    }
253 
254    // SECTION-END
255    // SECTION-START[CommitJavaClassesCommand]
256    // SECTION-END
257    // SECTION-START[Constructors]
258    // <editor-fold defaultstate="collapsed" desc=" Generated Constructors ">
259 
260    /** Creates a new {@code CommitJavaClassesCommand} instance. */
261    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
262                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
263    public CommitJavaClassesCommand()
264    {
265        // SECTION-START[Default Constructor]
266        super();
267        // SECTION-END
268    }
269    // </editor-fold>
270    // SECTION-END
271    // SECTION-START[Dependencies]
272    // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies ">
273 
274    /**
275     * Gets the {@code ClassesDirectoryOption} dependency.
276     * <p>This method returns the "{@code JOMC CLI Classes Directory Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
277     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
278     * <p><b>Properties</b><dl>
279     * <dt>"{@code required}"</dt>
280     * <dd>Property of type {@code boolean}.
281     * </dd>
282     * </dl>
283     * @return The {@code ClassesDirectoryOption} dependency.
284     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
285     */
286    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
287                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
288    private org.apache.commons.cli.Option getClassesDirectoryOption()
289    {
290        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClassesDirectoryOption" );
291        assert _d != null : "'ClassesDirectoryOption' dependency not found.";
292        return _d;
293    }
294 
295    /**
296     * Gets the {@code ClasspathOption} dependency.
297     * <p>This method returns the "{@code JOMC CLI Classpath Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
298     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
299     * @return The {@code ClasspathOption} dependency.
300     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
301     */
302    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
303                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
304    private org.apache.commons.cli.Option getClasspathOption()
305    {
306        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" );
307        assert _d != null : "'ClasspathOption' dependency not found.";
308        return _d;
309    }
310 
311    /**
312     * Gets the {@code DocumentsOption} dependency.
313     * <p>This method returns the "{@code JOMC CLI Documents Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
314     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
315     * @return The {@code DocumentsOption} dependency.
316     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
317     */
318    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
319                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
320    private org.apache.commons.cli.Option getDocumentsOption()
321    {
322        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" );
323        assert _d != null : "'DocumentsOption' dependency not found.";
324        return _d;
325    }
326 
327    /**
328     * Gets the {@code Locale} dependency.
329     * <p>This method returns the "{@code default}" object of the {@code java.util.Locale} specification at specification level 1.1.</p>
330     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
331     * @return The {@code Locale} dependency.
332     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
333     */
334    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
335                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
336    private java.util.Locale getLocale()
337    {
338        final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" );
339        assert _d != null : "'Locale' dependency not found.";
340        return _d;
341    }
342 
343    /**
344     * Gets the {@code ModuleLocationOption} dependency.
345     * <p>This method returns the "{@code JOMC CLI Module Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
346     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
347     * @return The {@code ModuleLocationOption} dependency.
348     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
349     */
350    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
351                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
352    private org.apache.commons.cli.Option getModuleLocationOption()
353    {
354        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" );
355        assert _d != null : "'ModuleLocationOption' dependency not found.";
356        return _d;
357    }
358 
359    /**
360     * Gets the {@code ModuleNameOption} dependency.
361     * <p>This method returns the "{@code JOMC CLI Module Name Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
362     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
363     * @return The {@code ModuleNameOption} dependency.
364     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
365     */
366    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
367                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
368    private org.apache.commons.cli.Option getModuleNameOption()
369    {
370        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" );
371        assert _d != null : "'ModuleNameOption' dependency not found.";
372        return _d;
373    }
374 
375    /**
376     * Gets the {@code NoClasspathResolutionOption} dependency.
377     * <p>This method returns the "{@code JOMC CLI No Classpath Resolution Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
378     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
379     * @return The {@code NoClasspathResolutionOption} dependency.
380     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
381     */
382    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
383                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
384    private org.apache.commons.cli.Option getNoClasspathResolutionOption()
385    {
386        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" );
387        assert _d != null : "'NoClasspathResolutionOption' dependency not found.";
388        return _d;
389    }
390 
391    /**
392     * Gets the {@code NoModelProcessingOption} dependency.
393     * <p>This method returns the "{@code JOMC CLI No Model Processing Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
394     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
395     * @return The {@code NoModelProcessingOption} dependency.
396     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
397     */
398    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
399                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
400    private org.apache.commons.cli.Option getNoModelProcessingOption()
401    {
402        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" );
403        assert _d != null : "'NoModelProcessingOption' dependency not found.";
404        return _d;
405    }
406 
407    /**
408     * Gets the {@code SchemaLocationOption} dependency.
409     * <p>This method returns the "{@code JOMC CLI Schema Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
410     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
411     * @return The {@code SchemaLocationOption} dependency.
412     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
413     */
414    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
415                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
416    private org.apache.commons.cli.Option getSchemaLocationOption()
417    {
418        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SchemaLocationOption" );
419        assert _d != null : "'SchemaLocationOption' dependency not found.";
420        return _d;
421    }
422 
423    /**
424     * Gets the {@code ServiceLocationOption} dependency.
425     * <p>This method returns the "{@code JOMC CLI Service Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
426     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
427     * @return The {@code ServiceLocationOption} dependency.
428     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
429     */
430    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
431                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
432    private org.apache.commons.cli.Option getServiceLocationOption()
433    {
434        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ServiceLocationOption" );
435        assert _d != null : "'ServiceLocationOption' dependency not found.";
436        return _d;
437    }
438 
439    /**
440     * Gets the {@code TransformerLocationOption} dependency.
441     * <p>This method returns the "{@code JOMC CLI Transformer Location Option}" object of the {@code org.apache.commons.cli.Option} specification.</p>
442     * <p>That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance.</p>
443     * @return The {@code TransformerLocationOption} dependency.
444     * @throws org.jomc.ObjectManagementException if getting the dependency instance fails.
445     */
446    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
447                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
448    private org.apache.commons.cli.Option getTransformerLocationOption()
449    {
450        final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" );
451        assert _d != null : "'TransformerLocationOption' dependency not found.";
452        return _d;
453    }
454    // </editor-fold>
455    // SECTION-END
456    // SECTION-START[Properties]
457    // <editor-fold defaultstate="collapsed" desc=" Generated Properties ">
458 
459    /**
460     * Gets the value of the {@code abbreviatedCommandName} property.
461     * @return Abbreviated name of the command.
462     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
463     */
464    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
465                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
466    private java.lang.String getAbbreviatedCommandName()
467    {
468        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" );
469        assert _p != null : "'abbreviatedCommandName' property not found.";
470        return _p;
471    }
472 
473    /**
474     * Gets the value of the {@code commandName} property.
475     * @return Name of the command.
476     * @throws org.jomc.ObjectManagementException if getting the property instance fails.
477     */
478    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
479                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
480    private java.lang.String getCommandName()
481    {
482        final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" );
483        assert _p != null : "'commandName' property not found.";
484        return _p;
485    }
486    // </editor-fold>
487    // SECTION-END
488    // SECTION-START[Messages]
489    // <editor-fold defaultstate="collapsed" desc=" Generated Messages ">
490 
491    /**
492     * Gets the text of the {@code applicationTitle} message.
493     * <p><b>Templates</b><br/><table>
494     * <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>
495     * </table></p>
496     * @param locale The locale of the message to return.
497     * @return The text of the {@code applicationTitle} message.
498     *
499     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
500     */
501    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
502                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
503    private String getApplicationTitleMessage( final java.util.Locale locale )
504    {
505        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale );
506        assert _m != null : "'applicationTitle' message not found.";
507        return _m;
508    }
509 
510    /**
511     * Gets the text of the {@code cannotProcess} message.
512     * <p><b>Templates</b><br/><table>
513     * <tr><td valign="top">English:</td><td valign="top"><pre>Cannot process ''{0}'': {1}</pre></td></tr>
514     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Kann ''{0}'' nicht verarbeiten: {1}</pre></td></tr>
515     * </table></p>
516     * @param locale The locale of the message to return.
517     * @param itemInfo Format argument.
518     * @param detailMessage Format argument.
519     * @return The text of the {@code cannotProcess} message.
520     *
521     * @throws org.jomc.ObjectManagementException if getting the message 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 String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage )
526    {
527        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcess", locale, itemInfo, detailMessage );
528        assert _m != null : "'cannotProcess' message not found.";
529        return _m;
530    }
531 
532    /**
533     * Gets the text of the {@code classpathElement} message.
534     * <p><b>Templates</b><br/><table>
535     * <tr><td valign="top">English:</td><td valign="top"><pre>Classpath element: ''{0}''</pre></td></tr>
536     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Klassenpfad-Element: ''{0}''</pre></td></tr>
537     * </table></p>
538     * @param locale The locale of the message to return.
539     * @param classpathElement Format argument.
540     * @return The text of the {@code classpathElement} message.
541     *
542     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
543     */
544    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
545                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
546    private String getClasspathElementMessage( final java.util.Locale locale, final java.lang.String classpathElement )
547    {
548        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElement", locale, classpathElement );
549        assert _m != null : "'classpathElement' message not found.";
550        return _m;
551    }
552 
553    /**
554     * Gets the text of the {@code defaultLogLevelInfo} message.
555     * <p><b>Templates</b><br/><table>
556     * <tr><td valign="top">English:</td><td valign="top"><pre>Default log level: ''{0}''</pre></td></tr>
557     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Standard-Protokollierungsstufe: ''{0}''</pre></td></tr>
558     * </table></p>
559     * @param locale The locale of the message to return.
560     * @param defaultLogLevel Format argument.
561     * @return The text of the {@code defaultLogLevelInfo} message.
562     *
563     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
564     */
565    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
566                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
567    private String getDefaultLogLevelInfoMessage( final java.util.Locale locale, final java.lang.String defaultLogLevel )
568    {
569        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel );
570        assert _m != null : "'defaultLogLevelInfo' message not found.";
571        return _m;
572    }
573 
574    /**
575     * Gets the text of the {@code documentFile} message.
576     * <p><b>Templates</b><br/><table>
577     * <tr><td valign="top">English:</td><td valign="top"><pre>Document file: ''{0}''</pre></td></tr>
578     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Dokument-Datei: ''{0}''</pre></td></tr>
579     * </table></p>
580     * @param locale The locale of the message to return.
581     * @param documentFile Format argument.
582     * @return The text of the {@code documentFile} message.
583     *
584     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
585     */
586    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
587                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
588    private String getDocumentFileMessage( final java.util.Locale locale, final java.lang.String documentFile )
589    {
590        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFile", locale, documentFile );
591        assert _m != null : "'documentFile' message not found.";
592        return _m;
593    }
594 
595    /**
596     * Gets the text of the {@code invalidModel} message.
597     * <p><b>Templates</b><br/><table>
598     * <tr><td valign="top">English:</td><td valign="top"><pre>Invalid model.</pre></td></tr>
599     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Ung&uuml;ltiges Modell.</pre></td></tr>
600     * </table></p>
601     * @param locale The locale of the message to return.
602     * @return The text of the {@code invalidModel} message.
603     *
604     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
605     */
606    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
607                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
608    private String getInvalidModelMessage( final java.util.Locale locale )
609    {
610        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModel", locale );
611        assert _m != null : "'invalidModel' message not found.";
612        return _m;
613    }
614 
615    /**
616     * Gets the text of the {@code longDescription} message.
617     * <p><b>Templates</b><br/><table>
618     * <tr><td valign="top">English:</td><td valign="top"><pre>Example:
619     *   jomc commit-java-classes -cp &lt;classpath&gt; \
620     *                            -df examples/xml/jomc-cli.xml \
621     *                            -cd target/classes \
622     *                            -mn &quot;JOMC CLI&quot; \
623     *                            -v</pre></td></tr>
624     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Beispiel:
625     *   jomc commit-java-classes -cp &lt;classpath&gt; \
626     *                            -df examples/xml/jomc-cli.xml \
627     *                            -cd target/classes \
628     *                            -mn &quot;JOMC CLI&quot; \
629     *                            -v</pre></td></tr>
630     * </table></p>
631     * @param locale The locale of the message to return.
632     * @return The text of the {@code longDescription} message.
633     *
634     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
635     */
636    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
637                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
638    private String getLongDescriptionMessage( final java.util.Locale locale )
639    {
640        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescription", locale );
641        assert _m != null : "'longDescription' message not found.";
642        return _m;
643    }
644 
645    /**
646     * Gets the text of the {@code missingModule} message.
647     * <p><b>Templates</b><br/><table>
648     * <tr><td valign="top">English:</td><td valign="top"><pre>Module ''{0}'' not found.</pre></td></tr>
649     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Modul ''{0}'' nicht gefunden.</pre></td></tr>
650     * </table></p>
651     * @param locale The locale of the message to return.
652     * @param moduleName Format argument.
653     * @return The text of the {@code missingModule} message.
654     *
655     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
656     */
657    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
658                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
659    private String getMissingModuleMessage( final java.util.Locale locale, final java.lang.String moduleName )
660    {
661        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "missingModule", locale, moduleName );
662        assert _m != null : "'missingModule' message not found.";
663        return _m;
664    }
665 
666    /**
667     * Gets the text of the {@code modulesReport} message.
668     * <p><b>Templates</b><br/><table>
669     * <tr><td valign="top">English:</td><td valign="top"><pre>Modules</pre></td></tr>
670     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Module</pre></td></tr>
671     * </table></p>
672     * @param locale The locale of the message to return.
673     * @return The text of the {@code modulesReport} message.
674     *
675     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
676     */
677    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
678                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
679    private String getModulesReportMessage( final java.util.Locale locale )
680    {
681        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "modulesReport", locale );
682        assert _m != null : "'modulesReport' message not found.";
683        return _m;
684    }
685 
686    /**
687     * Gets the text of the {@code separator} message.
688     * <p><b>Templates</b><br/><table>
689     * <tr><td valign="top">English:</td><td valign="top"><pre>--------------------------------------------------------------------------------</pre></td></tr>
690     * </table></p>
691     * @param locale The locale of the message to return.
692     * @return The text of the {@code separator} message.
693     *
694     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
695     */
696    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
697                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
698    private String getSeparatorMessage( final java.util.Locale locale )
699    {
700        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale );
701        assert _m != null : "'separator' message not found.";
702        return _m;
703    }
704 
705    /**
706     * Gets the text of the {@code shortDescription} message.
707     * <p><b>Templates</b><br/><table>
708     * <tr><td valign="top">English:</td><td valign="top"><pre>Commits Java class files.</pre></td></tr>
709     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>Schreibt Java Klassendateien fest.</pre></td></tr>
710     * </table></p>
711     * @param locale The locale of the message to return.
712     * @return The text of the {@code shortDescription} message.
713     *
714     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
715     */
716    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
717                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
718    private String getShortDescriptionMessage( final java.util.Locale locale )
719    {
720        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescription", locale );
721        assert _m != null : "'shortDescription' message not found.";
722        return _m;
723    }
724 
725    /**
726     * Gets the text of the {@code startingModuleProcessing} message.
727     * <p><b>Templates</b><br/><table>
728     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} with module ''{1}'' ...</pre></td></tr>
729     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} mit Modul ''{1}'' aus ... </pre></td></tr>
730     * </table></p>
731     * @param locale The locale of the message to return.
732     * @param toolName Format argument.
733     * @param moduleName Format argument.
734     * @return The text of the {@code startingModuleProcessing} message.
735     *
736     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
737     */
738    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
739                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
740    private String getStartingModuleProcessingMessage( final java.util.Locale locale, final java.lang.String toolName, final java.lang.String moduleName )
741    {
742        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingModuleProcessing", locale, toolName, moduleName );
743        assert _m != null : "'startingModuleProcessing' message not found.";
744        return _m;
745    }
746 
747    /**
748     * Gets the text of the {@code startingProcessing} message.
749     * <p><b>Templates</b><br/><table>
750     * <tr><td valign="top">English:</td><td valign="top"><pre>Executing command {0} ...</pre></td></tr>
751     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>F&uuml;hrt Befehl {0} aus ... </pre></td></tr>
752     * </table></p>
753     * @param locale The locale of the message to return.
754     * @param toolName Format argument.
755     * @return The text of the {@code startingProcessing} message.
756     *
757     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
758     */
759    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
760                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
761    private String getStartingProcessingMessage( final java.util.Locale locale, final java.lang.String toolName )
762    {
763        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "startingProcessing", locale, toolName );
764        assert _m != null : "'startingProcessing' message not found.";
765        return _m;
766    }
767 
768    /**
769     * Gets the text of the {@code toolFailure} message.
770     * <p><b>Templates</b><br/><table>
771     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} failure.</pre></td></tr>
772     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} fehlgeschlagen.</pre></td></tr>
773     * </table></p>
774     * @param locale The locale of the message to return.
775     * @param toolName Format argument.
776     * @return The text of the {@code toolFailure} message.
777     *
778     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
779     */
780    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
781                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
782    private String getToolFailureMessage( final java.util.Locale locale, final java.lang.String toolName )
783    {
784        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolFailure", locale, toolName );
785        assert _m != null : "'toolFailure' message not found.";
786        return _m;
787    }
788 
789    /**
790     * Gets the text of the {@code toolSuccess} message.
791     * <p><b>Templates</b><br/><table>
792     * <tr><td valign="top">English:</td><td valign="top"><pre>{0} successful.</pre></td></tr>
793     * <tr><td valign="top">Deutsch:</td><td valign="top"><pre>{0} erfolgreich.</pre></td></tr>
794     * </table></p>
795     * @param locale The locale of the message to return.
796     * @param toolName Format argument.
797     * @return The text of the {@code toolSuccess} message.
798     *
799     * @throws org.jomc.ObjectManagementException if getting the message instance fails.
800     */
801    @javax.annotation.Generated( value = "org.jomc.tools.JavaSources",
802                                 comments = "See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools" )
803    private String getToolSuccessMessage( final java.util.Locale locale, final java.lang.String toolName )
804    {
805        final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "toolSuccess", locale, toolName );
806        assert _m != null : "'toolSuccess' message not found.";
807        return _m;
808    }
809    // </editor-fold>
810    // SECTION-END
811}

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