public abstract class ManCommand extends BotCommand implements IManCommand
COMMAND_INIT_CHARACTER, COMMAND_PARAMETER_SEPARATOR_REGEXP| Constructor and Description |
|---|
ManCommand(String commandIdentifier,
String description,
String extendedDescription)
Create a new ManCommand providing a commandIdentifier, a short description and the extended description
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExtendedDescription()
Returns the extended Description of this command
|
String |
toMan()
Returns a String Representations of the Command and it's extended Description.
|
execute, getCommandIdentifier, getDescription, processMessage, toStringpublic ManCommand(String commandIdentifier, String description, String extendedDescription)
commandIdentifier - the unique identifier of this command (e.g. the command string to enter into chat)description - the description of this commandextendedDescription - The extended Description for the Command, should provide detailed information about arguments and possible optionspublic String getExtendedDescription()
IManCommandgetExtendedDescription in interface IManCommandpublic String toMan()
IManCommandtoMan in interface IManCommandCopyright © 2019. All rights reserved.