org.jomc.cli.commands
Class ValidateModulesCommand
java.lang.Object
org.jomc.cli.commands.AbstractJomcCommand
org.jomc.cli.commands.ValidateModulesCommand
- All Implemented Interfaces:
- Command
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public class ValidateModulesCommand- extends AbstractJomcCommand
Command line interface for validating modules.
Specifications
org.jomc.cli.Command 1.0 Multiton
Properties
Dependencies
- "
Locale"
Dependency on java.util.Locale at specification level 1.1 bound to an instance.
Messages
- "
applicationTitle"
| English: | JOMC Version 1.0-alpha-11 Build 2009-12-07T02:58:52+0000 |
- "
cannotProcess"
| English: | Cannot process ''{0}'': {1} |
| Deutsch: | Kann ''{0}'' nicht verarbeiten: {1} |
- "
classpathElement"
| English: | Classpath element: ''{0}'' |
| Deutsch: | Klassenpfad-Element: ''{0}'' |
- "
classpathOption"
| English: | Classpath elements separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding classpath elements. |
| Deutsch: | Klassenpfad-Elemente mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Klassenpfad-Elementen. |
- "
classpathOptionArgName"
| English: | elements |
| Deutsch: | Elemente |
- "
defaultLogLevelInfo"
| English: | Default log level: ''{0}'' |
| Deutsch: | Standard-Protokollierungsstufe: ''{0}'' |
- "
documentFile"
| English: | Document file: ''{0}'' |
| Deutsch: | Dokument-Datei: ''{0}'' |
- "
documentsOption"
| English: | Document filenames separated by ''{0}''. If starting with a ''@'' character, a file name of a file holding document filenames. |
| Deutsch: | Dokument-Dateinamen mit ''{0}'' getrennt. Wenn mit ''@'' beginnend, Dateiname einer Textdatei mit Dokument-Dateinamen. |
- "
documentsOptionArgName"
| English: | files |
| Deutsch: | Dateien |
- "
invalidModel"
| English: | Invalid model. |
| Deutsch: | Ungültiges Modell. |
- "
longDescription"
| English: | Example:
jomc validate-modules -df examples/xml/jomc-cli.xml -v |
| Deutsch: | Beispiel:
jomc validate-modules -df examples/xml/jomc-cli.xml -v |
- "
missingModule"
| English: | Module ''{0}'' not found. |
| Deutsch: | Modul ''{0}'' nicht gefunden. |
- "
moduleLocationOption"
| English: | Location of classpath modules. |
| Deutsch: | Ort der Klassenpfad-Module. |
- "
moduleLocationOptionArgName"
| English: | location |
| Deutsch: | Ort |
- "
moduleNameOption"
| English: | Name of the module to process. |
| Deutsch: | Name des zu verarbeitenden Moduls. |
- "
moduleNameOptionArgName"
| English: | name |
| Deutsch: | Name |
- "
modulesReport"
| English: | Modules |
| Deutsch: | Module |
- "
noClasspathResolutionOption"
| English: | Do not perform classpath resolution. |
| Deutsch: | Keine Klassenpfad-Auflösung durchführen. |
- "
separator"
| English: | -------------------------------------------------------------------------------- |
- "
shortDescription"
| English: | Validates modules. |
| Deutsch: | Prüft Module. |
- "
startingModuleProcessing"
| English: | Executing command {0} with module ''{1}'' ... |
| Deutsch: | Führt Befehl {0} mit Modul ''{1}'' aus ... |
- "
startingProcessing"
| English: | Executing command {0} ... |
| Deutsch: | Führt Befehl {0} aus ... |
- "
toolFailure"
| English: | {0} failure. |
| Deutsch: | {0} fehlgeschlagen. |
- "
toolSuccess"
| English: | {0} successful. |
| Deutsch: | {0} erfolgreich. |
- Version:
- $Id: ValidateModulesCommand.java 1102 2009-12-07 03:01:58Z schulte2005 $
- Author:
- Christian Schulte 1.0
|
Method Summary |
int |
executeCommand(org.apache.commons.cli.CommandLine commandLine)
|
org.apache.commons.cli.Options |
getOptions()
Gets the options of the command. |
| Methods inherited from class org.jomc.cli.commands.AbstractJomcCommand |
execute, getAbbreviatedName, getClassLoader, getClasspathOption, getDefaultLogLevel, getDocumentFiles, getDocumentsOption, getJavaBundles, getJavaClasses, getJavaSources, getListeners, getLogLevel, getLongDescription, getModelManager, getModelObjectValidator, getModuleLocationOption, getModuleNameOption, getModules, getName, getNoClasspathResolutionOption, getShortDescription, isLoggable, log, log, setDefaultLogLevel, setLogLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidateModulesCommand
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public ValidateModulesCommand()
- Creates a new
ValidateModulesCommand instance.
getOptions
public org.apache.commons.cli.Options getOptions()
- Description copied from interface:
Command
- Gets the options of the command.
- Specified by:
getOptions in interface Command- Overrides:
getOptions in class AbstractJomcCommand
- Returns:
- The options of the command.
executeCommand
public int executeCommand(org.apache.commons.cli.CommandLine commandLine)
throws Exception
- Specified by:
executeCommand in class AbstractJomcCommand
- Throws:
Exception
Copyright © 2005-2009 The JOMC Project. All Rights Reserved.