@MinMuleVersion(value="4.1")
@NoImplement
public interface NotificationEmitter
ExtensionNotifications with both custom data and default one.| Modifier and Type | Method and Description |
|---|---|
void |
fire(NotificationActionDefinition action,
org.mule.runtime.api.metadata.TypedValue<?> data)
Fires an
ExtensionNotification with the desired information. |
default void |
fireLazy(NotificationActionDefinition action,
Supplier<?> dataValue,
org.mule.runtime.api.metadata.DataType dataType)
Fires an
ExtensionNotification with the desired information. |
void fire(NotificationActionDefinition action, org.mule.runtime.api.metadata.TypedValue<?> data)
ExtensionNotification with the desired information.action - the NotificationActionDefinition to use.data - the TypedValue data to use.default void fireLazy(NotificationActionDefinition action, Supplier<?> dataValue, org.mule.runtime.api.metadata.DataType dataType)
ExtensionNotification with the desired information.action - the NotificationActionDefinition to use.dataValue - a supplier for the the Object to use as value of the generated DataType.dataType - the type of the data returned by the provided supplier.Copyright © 2022 MuleSoft, Inc.. All rights reserved.