Command
public class HelpCommand extends AbstractCommand
Command.Descriptor
options
Constructor | Description |
---|---|
HelpCommand(CommandRegistry registry) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
execute(java.lang.String[] args) |
This method will be called as the starting point to execute the logic
for the action mapped to this command.
|
Command.Descriptor |
getDescriptor() |
This method returns an instance of Command.Descriptor.
|
addOption, getCommandRegistry, getConsole, getService, parse, printUsage, printUsage
public HelpCommand(CommandRegistry registry)
public java.lang.String execute(java.lang.String[] args) throws java.lang.Exception
Command
args
- the command line argumentsjava.lang.Exception
- if an error occurs during command executionpublic Command.Descriptor getDescriptor()
Command
Copyright © 2008–2018 The Aspectran Project. All rights reserved.