@Beta
public interface IntentExtensionService
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Class<? extends Intent>,IntentCompiler<? extends Intent>> |
getCompilers()
Returns immutable set of bindings of currently registered intent compilers.
|
<T extends Intent> |
getInstaller(java.lang.Class<T> cls)
Returns the installer for specific installable intent.
|
java.util.Map<java.lang.Class<? extends Intent>,IntentInstaller<? extends Intent>> |
getInstallers()
Returns immutable set of binding of currently registered intent installers.
|
<T extends Intent> |
registerCompiler(java.lang.Class<T> cls,
IntentCompiler<T> compiler)
Registers the specified compiler for the given intent class.
|
<T extends Intent> |
registerInstaller(java.lang.Class<T> cls,
IntentInstaller<T> installer)
Registers the specific installer for the given intent class.
|
<T extends Intent> |
unregisterCompiler(java.lang.Class<T> cls)
Unregisters the compiler for the specified intent class.
|
<T extends Intent> |
unregisterInstaller(java.lang.Class<T> cls)
Unregisters the installer for the specific intent class.
|
<T extends Intent> void registerCompiler(java.lang.Class<T> cls, IntentCompiler<T> compiler)
T
- the type of intentcls
- intent classcompiler
- intent compiler<T extends Intent> void unregisterCompiler(java.lang.Class<T> cls)
T
- the type of intentcls
- intent classjava.util.Map<java.lang.Class<? extends Intent>,IntentCompiler<? extends Intent>> getCompilers()
<T extends Intent> void registerInstaller(java.lang.Class<T> cls, IntentInstaller<T> installer)
T
- the type of intentcls
- intent classinstaller
- intent installer<T extends Intent> void unregisterInstaller(java.lang.Class<T> cls)
T
- the type of intentcls
- intent classjava.util.Map<java.lang.Class<? extends Intent>,IntentInstaller<? extends Intent>> getInstallers()
<T extends Intent> IntentInstaller<T> getInstaller(java.lang.Class<T> cls)
T
- the type of intentcls
- the type of intent