
public final class MergeModulesCommand extends AbstractModelCommand
merge-modules command implementation.AbstractModletCommand.CommandLineClassLoaderCommand.ListenerSTATUS_FAILURE, STATUS_SUCCESS| Constructor and Description |
|---|
MergeModulesCommand()
Creates a new
MergeModulesCommand instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeCommand(CommandLine commandLine)
Called by the
execute method prior to the postExecuteCommand method. |
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.
|
createModelContext, getModelcreateTransformer, getDocumentFiles, getModel, logexecute, getDefaultLogLevel, getExecutorService, getListeners, getLogLevel, isLoggable, log, postExecuteCommand, preExecuteCommand, setDefaultLogLevel, setLogLevelpublic MergeModulesCommand()
MergeModulesCommand instance.public Options getOptions()
CommandgetOptions in interface CommandgetOptions in class AbstractModelCommandpublic String getName()
Commandpublic String getAbbreviatedName()
Commandpublic String getShortDescription(Locale locale)
Commandlocale - The locale of the short description to return.public String getLongDescription(Locale locale)
Commandlocale - The locale of the long description to return.protected void executeCommand(CommandLine commandLine) throws CommandExecutionException
AbstractCommandexecute method prior to the postExecuteCommand method.executeCommand in class AbstractCommandcommandLine - The command line to execute.CommandExecutionException - if executing the command fails.AbstractCommand.execute(org.apache.commons.cli.CommandLine)Copyright © 2005–2016 The JOMC Project. All rights reserved.