public interface ModuleContainer
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ModuleProvider> |
getAll()
NotNull
|
java.util.ArrayList<ModuleProvider> |
getAllByType(java.lang.String type)
NotNull
|
java.util.ArrayList<java.lang.String> |
getAllType()
NotNull
|
<T> ModuleProvider |
getByClass(java.lang.Class<T> klass) |
ModuleProvider |
getByInstance(java.lang.Object instance)
Nullable
|
ModuleProvider |
getByName(java.lang.String name)
Nullable
|
void |
onKey(int key)
enable all module
|
java.util.ArrayList<ModuleProvider> getAll()
java.util.ArrayList<ModuleProvider> getAllByType(java.lang.String type)
type
- module typejava.util.ArrayList<java.lang.String> getAllType()
ModuleProvider getByName(java.lang.String name)
name
- module name<T> ModuleProvider getByClass(java.lang.Class<T> klass)
T
- moduleklass
- classModuleProvider getByInstance(java.lang.Object instance)
instance
- module namevoid onKey(int key)
key
- keyboard