Commandpublic class ClearCommand extends AbstractCommand
Command.Descriptoroptions| Constructor | Description |
|---|---|
ClearCommand(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, printUsagepublic ClearCommand(CommandRegistry registry)
public java.lang.String execute(java.lang.String[] args)
throws java.lang.Exception
Commandargs - the command line argumentsjava.lang.Exception - if an error occurs during command executionpublic Command.Descriptor getDescriptor()
CommandCopyright © 2008–2018 The Aspectran Project. All rights reserved.