org.jomc.cli.commands
Class ValidateJavaClassesCommand

Package class diagram package ValidateJavaClassesCommand
java.lang.Object
  extended by org.jomc.cli.commands.AbstractJomcCommand
      extended by org.jomc.cli.commands.ValidateJavaClassesCommand
All Implemented Interfaces:
Command

@Generated(value="org.jomc.tools.JavaSources",
           comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public final class ValidateJavaClassesCommand
extends AbstractJomcCommand

Command line interface for validating Java classes with the JavaClasses tool.

Specifications

Properties

Dependencies

Messages

Version:
$Id: ValidateJavaClassesCommand.java 1102 2009-12-07 03:01:58Z schulte2005 $
Author:
Christian Schulte 1.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jomc.cli.Command
Command.Listener
 
Field Summary
 
Fields inherited from interface org.jomc.cli.Command
STATUS_FAILURE, STATUS_SUCCESS
 
Constructor Summary
ValidateJavaClassesCommand()
          Creates a new ValidateJavaClassesCommand instance.
 
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
 

Constructor Detail

ValidateJavaClassesCommand

@Generated(value="org.jomc.tools.JavaSources",
           comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public ValidateJavaClassesCommand()
Creates a new ValidateJavaClassesCommand instance.

Method Detail

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.