org.jomc.cli.commands
Class ManageJavaSourcesCommand

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

Command line interface for the JavaSources tool.

Specifications

Properties

Dependencies

Messages

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

ManageJavaSourcesCommand

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

getProfileOption

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

getTemplateEncodingOption

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

getInputEncodingOption

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

getOutputEncodingOption

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


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