@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public abstract class AbstractSourceFileProcessorCommand extends AbstractJomcToolCommand
SourceFileProcessor
based command implementation.
AbstractModletCommand.CommandLineClassLoader
Command.Listener
STATUS_FAILURE, STATUS_SUCCESS
Constructor and Description |
---|
AbstractSourceFileProcessorCommand()
Creates a new
AbstractSourceFileProcessorCommand instance. |
Modifier and Type | Method and Description |
---|---|
protected SourceFileProcessor |
createSourceFileProcessor(CommandLine commandLine)
Creates a new
SourceFileProcessor instance taking a command line. |
protected void |
executeCommand(CommandLine commandLine)
Called by the
execute method prior to the postExecuteCommand method. |
Options |
getOptions()
Gets the options of the command.
|
protected abstract void |
processSourceFiles(CommandLine commandLine)
Processes source files.
|
createJomcTool, createObject, getImplementation, getLocale, getModule, getSpecification, isModulesProcessingRequested, postExecuteCommand
createModelContext, getModel
createTransformer, getDocumentFiles, getModel, log
execute, getAbbreviatedName, getDefaultLogLevel, getExceptionMessage, getListeners, getLogLevel, getLongDescription, getName, getShortDescription, isLoggable, log, preExecuteCommand, setDefaultLogLevel, setLogLevel
@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public AbstractSourceFileProcessorCommand()
AbstractSourceFileProcessorCommand
instance.protected SourceFileProcessor createSourceFileProcessor(CommandLine commandLine) throws CommandExecutionException
SourceFileProcessor
instance taking a command line.commandLine
- The command line to process.SourceFileProcessor
instance as specified by the given command line or null
, if
creating a new instance fails.NullPointerException
- if commandLine
is null
.CommandExecutionException
- if creating a new instance fails.protected final void executeCommand(CommandLine commandLine) throws CommandExecutionException
execute
method prior to the postExecuteCommand
method.executeCommand
in class AbstractCommand
commandLine
- The command line to execute.CommandExecutionException
- if executing the command fails.AbstractCommand.execute(org.apache.commons.cli.CommandLine)
protected abstract void processSourceFiles(CommandLine commandLine) throws CommandExecutionException
commandLine
- The command line to execute.CommandExecutionException
- if processing source files fails.@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public Options getOptions()
Options:
Specification | Implementation |
---|---|
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Classpath Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Country Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Default Template Encoding Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Default Template Profile Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Documents Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Implementation Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Indentation String Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Input Encoding Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Language Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Line Separator Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Locale Variant Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Model Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Modlet Location Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Modlet Schema System Id Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Module Location Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Module Name Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Classpath Resolution Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Java Validation Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Model Processing Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Model Resource Validation Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ No Source File Processing Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Output Encoding Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Platform Provider Location Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Provider Location Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Source Directory Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ SourceFileProcessor Class Name Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Specification Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Template Encoding Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Template Location Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Template Profile Option |
JOMC ⁑ CLI ⁑ Command Option (org.apache.commons.cli.Option) @ 1.2 |
JOMC ⁑ CLI ⁑ Transformer Location Option |
getOptions
in interface Command
getOptions
in class AbstractJomcToolCommand
Copyright © 2005–2015 The JOMC Project. All rights reserved.