public interface CommandContainer
Modifier and Type | Method and Description |
---|---|
boolean |
execCommand(java.lang.String rawMessage)
NotNull
|
java.util.ArrayList<CommandProvider> |
getAll()
NotNull
|
<T> CommandProvider |
getByClass(java.lang.Class<T> klass) |
CommandProvider |
getByInstance(java.lang.Object instance)
Nullable
|
CommandProvider |
getByKey(java.lang.String key)
Nullable
|
java.util.ArrayList<CommandProvider> getAll()
CommandProvider getByInstance(java.lang.Object instance)
instance
- command<T> CommandProvider getByClass(java.lang.Class<T> klass)
T
- commandklass
- classCommandProvider getByKey(java.lang.String key)
key
- command keyboolean execCommand(java.lang.String rawMessage)
rawMessage
- message