Package io.jmix.bpmflowui.util
Class BpmIntegrationAddonSupport
java.lang.Object
io.jmix.bpmflowui.util.BpmIntegrationAddonSupport
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether the email add-on (hence the email notification channel) is present.booleanChecks whether the Message Templates add-on is present.booleanChecks whether the Notifications add-on is present.protected boolean
-
Field Details
-
NOTIFICATION_MANAGER_CLASS_NAME
- See Also:
-
EMAILER_CLASS_NAME
- See Also:
-
MESSAGE_TEMPLATE_CLASS_NAME
- See Also:
-
-
Constructor Details
-
BpmIntegrationAddonSupport
public BpmIntegrationAddonSupport()
-
-
Method Details
-
isNotificationsAddonPresent
public boolean isNotificationsAddonPresent()Checks whether the Notifications add-on is present.- Returns:
trueif 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:
trueif the email add-on is on the classpath
-
isMessageTemplatesAddonPresent
public boolean isMessageTemplatesAddonPresent()Checks whether the Message Templates add-on is present.- Returns:
trueif the Message Templates add-on is on the classpath
-
isPresent
-