Class BpmIntegrationAddonSupport

java.lang.Object
io.jmix.bpmflowui.util.BpmIntegrationAddonSupport

@Component("bpm_BpmIntegrationAddonSupport") public class BpmIntegrationAddonSupport extends Object
Detects which optional add-ons the BPM modeler integrates with are present on the classpath, centralizing the class-presence checks so callers don't hard-code add-on class names. Deliberately free of add-on types (checks by class name only) so it stays usable even when those add-ons are absent.
  • Field Details

  • Constructor Details

    • BpmIntegrationAddonSupport

      public BpmIntegrationAddonSupport()
  • Method Details

    • isNotificationsAddonPresent

      public boolean isNotificationsAddonPresent()
      Checks whether the Notifications add-on is present.
      Returns:
      true if the Notifications add-on is on the classpath
    • isEmailAddonPresent

      public boolean isEmailAddonPresent()
      Checks whether the email add-on (hence the email notification channel) is present.
      Returns:
      true if the email add-on is on the classpath
    • isMessageTemplatesAddonPresent

      public boolean isMessageTemplatesAddonPresent()
      Checks whether the Message Templates add-on is present.
      Returns:
      true if the Message Templates add-on is on the classpath
    • isPresent

      protected boolean isPresent(String className)