org.jomc.cli.commands
Class MergeModulesCommand

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

Command line interface for merging modules.

Specifications

Properties

Dependencies

Messages

Version:
$Id: MergeModulesCommand.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
MergeModulesCommand()
          Creates a new MergeModulesCommand instance.
 
Method Summary
 int executeCommand(org.apache.commons.cli.CommandLine commandLine)
           
protected  org.apache.commons.cli.Option getDocumentOption()
           
protected  org.apache.commons.cli.Option getModuleExcludesOption()
           
protected  org.apache.commons.cli.Option getModuleIncludesOption()
           
protected  org.apache.commons.cli.Option getModuleVendorOption()
           
protected  org.apache.commons.cli.Option getModuleVersionOption()
           
 org.apache.commons.cli.Options getOptions()
          Gets the options of the command.
protected  org.apache.commons.cli.Option getStylesheetOption()
           
 
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

MergeModulesCommand

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

getStylesheetOption

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

getDocumentOption

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

getModuleVersionOption

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

getModuleVendorOption

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

getModuleIncludesOption

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

getModuleExcludesOption

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


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