public final class CommitClassesCommand extends AbstractClassFileProcessorCommand
commit-classes
command implementation.AbstractModletCommand.CommandLineClassLoader
Command.Listener
STATUS_FAILURE, STATUS_SUCCESS
Constructor and Description |
---|
CommitClassesCommand()
Creates a new
CommitClassesCommand instance. |
Modifier and Type | Method and Description |
---|---|
String |
getAbbreviatedName()
Gets the abbreviated name of the command.
|
String |
getLongDescription(Locale locale)
Gets the long description of the command.
|
String |
getName()
Gets the name of the command.
|
Options |
getOptions()
Gets the options of the command.
|
String |
getShortDescription(Locale locale)
Gets the short description of the command.
|
protected void |
processClassFiles(CommandLine commandLine)
Processes class files.
|
createClassFileProcessor, executeCommand
createJomcTool, createObject, getImplementation, getLocale, getModule, getSpecification, isModulesProcessingRequested
createModelContext, getModel
createTransformer, getDocumentFiles, getModel, log
execute, getDefaultLogLevel, getExecutorService, getListeners, getLogLevel, isLoggable, log, postExecuteCommand, preExecuteCommand, setDefaultLogLevel, setLogLevel
public CommitClassesCommand()
CommitClassesCommand
instance.public Options getOptions()
Command
getOptions
in interface Command
getOptions
in class AbstractClassFileProcessorCommand
public String getName()
Command
public String getAbbreviatedName()
Command
public String getShortDescription(Locale locale)
Command
locale
- The locale of the short description to return.public String getLongDescription(Locale locale)
Command
locale
- The locale of the long description to return.protected void processClassFiles(CommandLine commandLine) throws CommandExecutionException
AbstractClassFileProcessorCommand
processClassFiles
in class AbstractClassFileProcessorCommand
commandLine
- The command line to execute.CommandExecutionException
- if processing class files fails.Copyright © 2005–2016 The JOMC Project. All rights reserved.