Class PromptServicePluginLocator

    • Constructor Detail

      • PromptServicePluginLocator

        public PromptServicePluginLocator()
    • Method Detail

      • findPlugin

        public IPluginPromptService findPlugin​(Mandant tenant,
                                               String type)
        Description copied from interface: IBeanProvidingPluginLocator
        Finds the plugin that provides the UI and the bean for the given key. When the UI is from a built-in, this method should return null.
        Specified by:
        findPlugin in interface IBeanProvidingPluginLocator<String,​IPluginPromptService>
        Parameters:
        tenant - The current client scope, or null if no client is available. When given, plugins from that client scope should be included. When not given, only system scoped should be considered.
        type - The key used to identify which bean to retrieve, e.g. a workflow node handler's type.
        Returns:
        The plugin that provides the bean for the given key, or null if it comes from a built-in.