Class SendMessageAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction<SendMessageInput,SendMessageOutput>
com.kingsrook.qqq.backend.core.actions.messaging.SendMessageAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<MessagingProviderCapability> capabilities(String messagingProviderName) Capabilities of a named provider in the current QInstance.execute(SendMessageInput input) Dispatch through the named provider.static booleanisAvailable(String messagingProviderName) Whether provider metadata exists in the current QInstance and its type resolves.Methods inherited from class com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction
executeAsync
-
Constructor Details
-
SendMessageAction
public SendMessageAction()
-
-
Method Details
-
execute
Dispatch through the named provider. Templates and idempotency require declared capabilities. Category, linked record, sender name, locale, and variables without a template are advisory and unsupported providers silently ignore them.- Specified by:
executein classAbstractQActionFunction<SendMessageInput,SendMessageOutput> - Throws:
QException
-
capabilities
Capabilities of a named provider in the current QInstance. Returns an empty set if metadata is absent or its type cannot resolve. Use isAvailable to distinguish unavailable providers from providers with no optional features. -
isAvailable
Whether provider metadata exists in the current QInstance and its type resolves. Does not check transport connectivity, credentials, or delivery readiness.
-