public interface CommandMapping
Implementations are not required to implement a sane
Object.equals(Object) but may choose to do so.
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllAliases()
Gets an immutable list of all aliases.
|
CommandCallable |
getCallable()
Gets the callable.
|
String |
getPrimaryAlias()
Gets the primary alias.
|
String getPrimaryAlias()
Set<String> getAllAliases()
The returned list must contain at least one entry, of which one must
be the one returned by getPrimaryAlias().
There may be several versions of the same alias with different casing, although generally implementations should ignore the casing of aliases.
CommandCallable getCallable()