@Beta
public interface IntentExtensionService
| Modifier and Type | Method and Description |
|---|---|
Map<Class<? extends Intent>,IntentCompiler<? extends Intent>> |
getCompilers()
Returns immutable set of bindings of currently registered intent compilers.
|
<T extends Intent> |
registerCompiler(Class<T> cls,
IntentCompiler<T> compiler)
Registers the specified compiler for the given intent class.
|
<T extends Intent> |
unregisterCompiler(Class<T> cls)
Unregisters the compiler for the specified intent class.
|
<T extends Intent> void registerCompiler(Class<T> cls, IntentCompiler<T> compiler)
T - the type of intentcls - intent classcompiler - intent compiler<T extends Intent> void unregisterCompiler(Class<T> cls)
T - the type of intentcls - intent classMap<Class<? extends Intent>,IntentCompiler<? extends Intent>> getCompilers()