Package io.jmix.messagetemplatesflowui
Interface GrapesJsPluginRegistry
- All Known Implementing Classes:
GrapesJsPluginRegistryImpl
public interface GrapesJsPluginRegistry
Registry for
GrapesJsPlugins.-
Method Summary
Modifier and TypeMethodDescription<T extends GrapesJsPlugin>
TGets plugin instance by its unique name.<T extends GrapesJsPlugin>
TGets plugin instance by its unique name.<T extends GrapesJsPlugin>
voidRegisters a plugin instance in the registry.
-
Method Details
-
get
Gets plugin instance by its unique name.- Type Parameters:
T- type of the plugin- Parameters:
name- name of the plugin- Returns:
- plugin instance
- Throws:
IllegalArgumentException- if no plugin with the passed name found
-
find
Gets plugin instance by its unique name.- Type Parameters:
T- type of the plugin- Parameters:
name- name of the plugin- Returns:
- plugin instance or
nullif not found
-
register
Registers a plugin instance in the registry.- Type Parameters:
T- type of the plugin- Parameters:
plugin- plugin to registername- unique registration name
-