org.jomc.cli.commands
Class CommitJavaClassesCommand

Package class diagram package CommitJavaClassesCommand
java.lang.Object
  extended by org.jomc.cli.commands.AbstractJomcCommand
      extended by org.jomc.cli.commands.CommitJavaClassesCommand
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 CommitJavaClassesCommand
extends AbstractJomcCommand

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

Specifications

Properties

Dependencies

Messages

Version:
$Id: CommitJavaClassesCommand.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
CommitJavaClassesCommand()
          Creates a new CommitJavaClassesCommand instance.
 
Method Summary
 int executeCommand(org.apache.commons.cli.CommandLine commandLine)
           
protected  org.apache.commons.cli.Option getClassesDirectoryOption()
           
 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

CommitJavaClassesCommand

@Generated(value="org.jomc.tools.JavaSources",
           comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public CommitJavaClassesCommand()
Creates a new CommitJavaClassesCommand 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

getClassesDirectoryOption

protected org.apache.commons.cli.Option getClassesDirectoryOption()


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.