org.jomc.cli.commands
Class GenerateJavaBundlesCommand

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

Command line interface for the JavaBundles tool.

Specifications

Properties

Dependencies

Messages

Version:
$Id: GenerateJavaBundlesCommand.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
GenerateJavaBundlesCommand()
          Creates a new GenerateJavaBundlesCommand instance.
 
Method Summary
 int executeCommand(org.apache.commons.cli.CommandLine commandLine)
           
protected  org.apache.commons.cli.Option getLanguageOption()
           
 org.apache.commons.cli.Options getOptions()
          Gets the options of the command.
protected  org.apache.commons.cli.Option getOutputEncodingOption()
           
protected  org.apache.commons.cli.Option getProfileOption()
           
protected  org.apache.commons.cli.Option getResourceDirectoryOption()
           
protected  org.apache.commons.cli.Option getSourceDirectoryOption()
           
protected  org.apache.commons.cli.Option getTemplateEncodingOption()
           
 
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

GenerateJavaBundlesCommand

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

getSourceDirectoryOption

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

getResourceDirectoryOption

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

getLanguageOption

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

getProfileOption

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

getTemplateEncodingOption

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

getOutputEncodingOption

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


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